mirror of
https://github.com/levinsv/pgadmin3.git
synced 2026-05-15 14:15:49 -06:00
fix #38. Add options "Quick jump to the root node" and "Auto save query text".
Первая предназначена для отключения/включения быстрого перемещения к корневым узлам. Вторая для отключения/включения автоматического сохранения закладок в Query Tool. После отключения авто сохранения возможно понадобиться вручную очистить каталог с сохранёнными закладками %APPDATA%\postgresql\recovery
This commit is contained in:
parent
4d7ed843aa
commit
bce303c437
9 changed files with 198 additions and 84 deletions
|
|
@ -824,6 +824,26 @@ public:
|
|||
{
|
||||
WriteBool(wxT("HideQueryHistory"), newval);
|
||||
}
|
||||
bool GetAutosaveQuery() const
|
||||
{
|
||||
bool b;
|
||||
Read(wxT("AutosaveQuery"), &b, true);
|
||||
return b;
|
||||
}
|
||||
void SetAutosaveQuery(const bool newval)
|
||||
{
|
||||
WriteBool(wxT("AutosaveQuery"), newval);
|
||||
}
|
||||
bool GetJumpRoot() const
|
||||
{
|
||||
bool b;
|
||||
Read(wxT("JumpRoot"), &b, true);
|
||||
return b;
|
||||
}
|
||||
void SetJumpRoot(const bool newval)
|
||||
{
|
||||
WriteBool(wxT("JumpRoot"), newval);
|
||||
}
|
||||
bool GetNumberPretty() const
|
||||
{
|
||||
bool b;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue