Thread: Re: SQL Windows on closedown

Re: SQL Windows on closedown

From
Dave Page
Date:

> -----Original Message-----
> From: Thomas Sandford [mailto:thomas@paradisegreen.co.uk]
> Sent: 31 March 2002 20:53
> To: pgadmin-support@postgresql.org
> Subject: [pgadmin-support] SQL Windows on closedown
>
>
> There appears to be a minor bug in the handling of open SQL
> windows when the main pgadmin II window is closed.
>
> Normally when an (edited) sql window is shut, a message
> appears to the effect "This query has ben edited, do you wish
> to save it [Yes][No][Cancel]".
>
> Pressing cancel leaves the SQL window open.
>
> If an (edited) SQL window is open when the pgadmin main
> window is closed, the same message is displayed. Pressing
> cancel in this case leaves the SQL window open, but the main
> pgadmin window still closes, leaving the SQL window as an
> orphan. Attempting to do anything with this window (not
> surprisingly) causes a VB runtime error.

Thanks, fixed in CVS for the next release.

Regards, Dave.