PATCH: Save & restore last active panel in Options dialogue - Mailing list pgadmin-hackers

From J.F. Oster
Subject PATCH: Save & restore last active panel in Options dialogue
Date
Msg-id 1778085946.20131205203048@mail.ru
Whole thread Raw
Responses Re: PATCH: Save & restore last active panel in Options dialogue  (Dave Page <dpage@pgadmin.org>)
List 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

Attachment

pgadmin-hackers by date:

Previous
From: Dave Page
Date:
Subject: Re: Text goes out of header area in html reports
Next
From: Dhiraj Chawla
Date:
Subject: Re: Text goes out of header area in html reports