CVS Commit by andreas: fix closing QueryTool if FindDlg still open
require($_SERVER['DOCUMENT_ROOT']."/includes/top_config.php");
?>
CVS Commit by andreas: fix closing QueryTool if FindDlg still open
Log Message:
-----------
fix closing QueryTool if FindDlg still open
Modified Files:
--------------
pgadmin3/src/ui:
ctlSQLBox.cpp (r1.24 -> r1.25)
Index: ctlSQLBox.cpp
===================================================================
RCS file: /projects/pgadmin3/src/ui/ctlSQLBox.cpp,v
retrieving revision 1.24
retrieving revision 1.25
diff -Lsrc/ui/ctlSQLBox.cpp -Lsrc/ui/ctlSQLBox.cpp -u -w -r1.24 -r1.25
--- src/ui/ctlSQLBox.cpp
+++ src/ui/ctlSQLBox.cpp
@@ -449,5 +449,8 @@
{
wxLogInfo(wxT("Destroying a ctlSQLBox"));
if (m_dlgFind)
+ {
m_dlgFind->Destroy();
+ delete m_dlgFind;
+ }
}
Home |
Main Index |
Thread Index