Re: [pgadmin-support] pgAdmin crashes on DDL
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.cpp2012-11-08 23:22:01.0 +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. -- Sent via pgadmin-support mailing list (pgadmin-support@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgadmin-support
Re: [pgadmin-support] pgAdmin crashes on DDL
On Fri, Jun 7, 2013 at 9:45 AM, aditsu wrote: > 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. Sometimes, unfortunately, that is the case with Open Source :-(. Thanks, patch applied to the 1.16 and master branches. -- Dave Page Blog: http://pgsnake.blogspot.com Twitter: @pgsnake EnterpriseDB UK: http://www.enterprisedb.com The Enterprise PostgreSQL Company -- Sent via pgadmin-support mailing list (pgadmin-support@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgadmin-support