Skip site navigation (1) Skip section navigation (2)

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 (view raw or flat)
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(-)

pgadmin-hackers by date

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

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group