Log Message:
-----------
catch 2.5.1 assert

Modified Files:
--------------
    pgadmin3/src/ui:
        frmMain.cpp (r1.85 -> r1.86)

Index: frmMain.cpp
===================================================================
RCS file: /projects/pgadmin3/src/ui/frmMain.cpp,v
retrieving revision 1.85
retrieving revision 1.86
diff -Lsrc/ui/frmMain.cpp -Lsrc/ui/frmMain.cpp -u -w -r1.85 -r1.86
--- src/ui/frmMain.cpp
+++ src/ui/frmMain.cpp
@@ -434,6 +434,8 @@
 void frmMain::OnPageChange(wxNotebookEvent& event)
 {
     wxTreeItemId item=browser->GetSelection();
+       if (!item)
+               return;
     pgObject *data = (pgObject*)browser->GetItemData(item);
 
     if (!data)
---------------------------(end of broadcast)---------------------------
TIP 5: Have you checked our extensive FAQ?

               http://www.postgresql.org/docs/faqs/FAQ.html

Reply via email to