Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

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...
commit 45a8132743cadc57092128e7171a122c42214fc9 1 parent 6a02db2
Guillaume Lelarge gleu authored

Showing 1 changed file with 0 additions and 3 deletions. Show diff stats Hide diff stats

  1. +0 3  pgadmin/dlg/dlgType.cpp
3  pgadmin/dlg/dlgType.cpp
@@ -108,9 +108,6 @@ dlgType::dlgType(pgaFactory *f, frmMain *frame, pgType *node, pgSchema *sch)
108 108 cbStorage->Append(wxT("EXTENDED"));
109 109
110 110 queriesToBeSplitted = false;
111   -
112   - wxNotifyEvent event;
113   - OnTypeChange(event);
114 111 }
115 112
116 113

0 comments on commit 45a8132

Please sign in to comment.
Something went wrong with that request. Please try again.