PATCH: Save & restore last active panel in Options dialogue

Поиск
Список
Период
Сортировка
От J.F. Oster
Тема PATCH: Save & restore last active panel in Options dialogue
Дата
Msg-id 1778085946.20131205203048@mail.ru
обсуждение исходный текст
Ответы Re: PATCH: Save & restore last active panel in Options dialogue
Список pgadmin-hackers
Hello All,

This little improvement saves some time for a user actively playing
with program's options. Last chosen treeview item label (translated!)
is saved among other settings and used on next dialogue invocation to
find and select treeview item with same label.

Сontrol over panels visibility moved to a single function
frmOptions::ShowPanel(menuItem), making future modifications a bit
easier. By the way, a call
  pnlDatabaseDesigner->Show(false);
was missing in frmOptions constructor.

Also it seems that empty panel is of no use when selecting
parent-level items like "Browser" or "Query tool".  I'd suggest to
show panels corresponding to their first children, like "Display" or
"Query editor".


--
Best regards,
 Vadim

Вложения

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

Предыдущее
От: Dave Page
Дата:
Сообщение: Re: Text goes out of header area in html reports
Следующее
От: Dhiraj Chawla
Дата:
Сообщение: Re: Text goes out of header area in html reports