Index: pgServer.cpp =================================================================== RCS file: /projects/pgadmin3/src/schema/pgServer.cpp,v retrieving revision 1.58 retrieving revision 1.59 diff -Lsrc/schema/pgServer.cpp -Lsrc/schema/pgServer.cpp -u -w -r1.58 -r1.59 --- src/schema/pgServer.cpp +++ src/schema/pgServer.cpp @@ -271,11 +271,14 @@ switch (dlg.Go()) { case wxID_OK: + wxTheApp->Yield(); break; case wxID_CANCEL: case -1: + wxTheApp->Yield(); return PGCONN_ABORTED; default: + wxTheApp->Yield(); wxLogError(__("Couldn't create a connection dialogue!")); return PGCONN_BAD; }