PATCH: Save settings regardless of Find&Replace dialog's close method
Вложения
В списке pgadmin-hackers по дате отправления:
| От | J.F. Oster |
|---|---|
| Тема | PATCH: Save settings regardless of Find&Replace dialog's close method |
| Дата | |
| Msg-id | 488548156.20140320193320@mail.ru обсуждение исходный текст |
| Ответы |
Re: PATCH: Save settings regardless of Find&Replace
dialog's close method
Re: PATCH: Save settings regardless of Find&Replace dialog's close method |
| Список | pgadmin-hackers |
Hello, Make "Find & Replace" dialog in SQL Box remember search settings when it is closed (in any way; in fact it's being hidden). Existing instances of dialog, once invoked again, will keep their own settings. New instance of dialog will gain settings of the last dialog which has been closed before it's invocation. >>> By the way, I was puzzled why search dialog's settings are saved >>> sometimes and sometimes are not. Depending on dialog's close method: >>> 1. Pressing ESC or "Close" form button calls OnCancel() which does not >>> save; >>> 2. Pressing title [x] button or Alt-F4 (or similar OS hotkey) calls >>> OnClose() which does save. >>> >>> Shouldn't the behaviour be the same regardless of dialog's close >>> method? Or at least the difference should be noted in documentation. DP>> Yes, it should. Patches welcome :-) JFO> Ok, after the current patch is applied I'll send in another one to JFO> make it save settings in both cases. -- Best regards, J.F.
В списке pgadmin-hackers по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера