Add new option "Hide query history"

Добавлена возможность скрыть строку с историей запросов.
История зпросов будет сохраняться вне зависимости от это опции.
This commit is contained in:
lsv 2023-08-02 09:38:58 +05:00
parent e320b2ebf2
commit 6f7e04671e
4 changed files with 33 additions and 2 deletions

View file

@ -814,6 +814,16 @@ public:
{
WriteBool(wxT("ASUTPstyle"), newval);
}
bool GetHideQueryHistory() const
{
bool b;
Read(wxT("HideQueryHistory"), &b, false);
return b;
}
void SetHideQueryHistory(const bool newval)
{
WriteBool(wxT("HideQueryHistory"), newval);
}
bool GetVisibleDbNameTree() const
{
bool b;