Re: PATCH: save and restore the settings of the search objects dialog

Поиск
Список
Период
Сортировка
От Dmitriy Olshevskiy
Тема Re: PATCH: save and restore the settings of the search objects dialog
Дата
Msg-id 53BC3857.6010506@bk.ru
обсуждение исходный текст
Ответ на Re: PATCH: save and restore the settings of the search objects dialog  ("J.F. Oster" <jinfroster@mail.ru>)
Ответы Re: PATCH: save and restore the settings of the search objects dialog  (Dave Page <dpage@pgadmin.org>)
Список pgadmin-hackers
Hello J.F.
Honestly, I don't sure that SaveSettings() must be called every time you
push the Find button.
What about the destructor method? (see the attached file)

08.07.2014 21:16, J.F. Oster пишет:
> 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()?
>
--
Dmitriy Olshevskiy


Вложения

В списке pgadmin-hackers по дате отправления:

Предыдущее
От: "J.F. Oster"
Дата:
Сообщение: PATCH: More search in object's definitions
Следующее
От: Dave Page
Дата:
Сообщение: pgAdmin III commit: Save search settings whenever the dialogue is close