PATCH: prevent a crash during the macro or favourite list updating

From: Dmitriy Olshevskiy <olshevskiy87(at)bk(dot)ru>
To: pgadmin-hackers(at)postgresql(dot)org, Dave Page <dpage(at)pgadmin(dot)org>
Subject: PATCH: prevent a crash during the macro or favourite list updating
Date: 2014-08-07 20:17:59
Message-ID: 53E3DEF7.8040102@bk.ru
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgadmin-hackers

Hello.
I would like you to check this patch.
Frequently there are opened several windows: edit grids and queries. In
this case, if you try to change macro or favourites list, pgadmin exits
with error immediately. Though, this isn't happening while all edit
grids are closed.
I propose a solution - to check the presence of the macros menu (or
favourites, if you change the favourites list) and the visibility of the
query window (to prevent false event when the window is just starts to
be opened).
Patch is attached to the letter.
Thank you.

--
Dmitriy Olshevskiy

Attachment Content-Type Size
t-1-prevent-a-crash-during-the-macro-updating.patch text/plain 944 bytes

Responses

Browse pgadmin-hackers by date

  From Date Subject
Next Message Guillaume Lelarge 2014-08-09 15:16:09 pgAdmin III commit: Prevent a crash during the update of the macro or f
Previous Message Dave Page 2014-07-30 11:22:02 pgAdmin III commit: Correct installer version