Browse files

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.
  • Loading branch information...
1 parent 6a02db2 commit 45a8132743cadc57092128e7171a122c42214fc9 @gleu gleu committed Sep 27, 2011
Showing with 0 additions and 3 deletions.
  1. +0 −3 pgadmin/dlg/dlgType.cpp
@@ -108,9 +108,6 @@ dlgType::dlgType(pgaFactory *f, frmMain *frame, pgType *node, pgSchema *sch)
queriesToBeSplitted = false;
- wxNotifyEvent event;
- OnTypeChange(event);

0 comments on commit 45a8132

Please sign in to comment.