Re: PATCH: save and restore the settings of the search objects dialog - Mailing list pgadmin-hackers

From J.F. Oster
Subject Re: PATCH: save and restore the settings of the search objects dialog
Date
Msg-id 18604521.20140708211630@mail.ru
Whole thread Raw
In response to Re: PATCH: save and restore the settings of the search objects dialog  (Dave Page <dpage@pgadmin.org>)
Responses Re: PATCH: save and restore the settings of the search objects dialog  (Dmitriy Olshevskiy <olshevskiy87@bk.ru>)
List pgadmin-hackers
Hello,

On Sun, Jun 22, 2014 at 11:29 AM, Dmitriy Olshevskiy <olshevskiy87@bk.ru> wrote:
> Hello.
> I think it'll be useful to save the settings of search objects dialog. So I
> decided to add this feature.
> Please see the attached patch.
> Thank you.

Reporting my user experience :)
SaveSettings() is called on Cancel button press (and Esc key press).
If I close the dialog with Alt-F4 or a [x] button, settings won't get
saved. Same situation was in dlgFindReplace.
Also what if call SaveSettings() in OnSearch()?

--
Best regards,
 J.F.



pgadmin-hackers by date:

Previous
From: Guillaume Lelarge
Date:
Subject: pgAdmin III commit: Fix the VS project
Next
From: "J.F. Oster"
Date:
Subject: PATCH: More search in object's definitions