pgAdmin III commit: Fix crash when opening a dlgType

From: Guillaume Lelarge <guillaume(at)lelarge(dot)info>
To: pgadmin-hackers(at)postgresql(dot)org
Subject: pgAdmin III commit: Fix crash when opening a dlgType
Date: 2011-09-27 07:10:17
Message-ID: E1R8Ro1-0006wV-VS@gothos.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgadmin-hackers

Fix crash when opening a dlgType

At the opening of the dialog, we do a CheckChange for no reason (at least, I don't see one) and this triggers a crash because the connection variable isn't already set. We could set the connection before the CheckChange but I prefer to delete the not-needed CheckChange call.

Per "report" from Vladimir Kokovic.

Branch
------
master

Details
-------
http://git.postgresql.org/gitweb?p=pgadmin3.git;a=commitdiff;h=45a8132743cadc57092128e7171a122c42214fc9

Modified Files
--------------
pgadmin/dlg/dlgType.cpp | 3 ---
1 files changed, 0 insertions(+), 3 deletions(-)

Browse pgadmin-hackers by date

  From Date Subject
Next Message Merlin Moncure 2011-09-28 18:24:09 Re: pgAgent crashes on failed connection
Previous Message Guillaume Lelarge 2011-09-25 20:47:07 pgAdmin III commit: I forgot the .mo file... sorry