Re: pgAdmin crashes on DDL - Mailing list pgadmin-support

From aditsu
Subject Re: pgAdmin crashes on DDL
Date
Msg-id 1370594714168-5758265.post@n5.nabble.com
Whole thread Raw
In response to Re: pgAdmin crashes on DDL  (aditsu <aditsu@yahoo.com>)
Responses Re: pgAdmin crashes on DDL
List pgadmin-support
aditsu wrote
> 
> Dave Page-7 wrote
>> No, I haven't had a chance to look again yet, though it is on my TODO
>> list. I'm not sure what I can do though, as it's pretty clear you're
>> suffering a problem that the rest of us aren't.
> Well, I'd think the backtrace should provide a clear indication of where
> the problem is.

Oh well, if you want something done, you have to do it yourself.

--- frmQuery.cpp    2012-11-08 23:22:01.000000000 +0800
+++ frmQuery1.cpp    2013-06-07 15:39:14.453599679 +0800
@@ -1451,7 +1451,7 @@    if (allowUpdateModelSize)    {
-        canSaveGQB = controller->getView()->canSaveAsImage();
+        canSaveGQB = controller->getView() != NULL &&
controller->getView()->canSaveAsImage();    }    toolBar->EnableTool(MNU_UNDO, canUndo);

Solves world hunger, Middle East conflict and the constant pgadmin crashes.
(or at least one of the above)



--
View this message in context: http://postgresql.1045698.n5.nabble.com/pgAdmin-crashes-on-DDL-tp5754991p5758265.html
Sent from the PostgreSQL - pgadmin support mailing list archive at Nabble.com.



pgadmin-support by date:

Previous
From: aditsu
Date:
Subject: Re: pgAdmin crashes on DDL
Next
From: Dave Page
Date:
Subject: Re: pgAdmin crashes on DDL