Loading saved simple searches: only reset the ext indexes set when prefs dialog is opened, not after 1st search
This commit is contained in:
parent
1865f1ff63
commit
90fd4865eb
@ -111,8 +111,6 @@ bool maybeOpenDb(string &reason, bool force, bool *maindberror)
|
|||||||
if (!edbs->empty()) {
|
if (!edbs->empty()) {
|
||||||
rcldb->setExtraQueryDbs(*edbs);
|
rcldb->setExtraQueryDbs(*edbs);
|
||||||
}
|
}
|
||||||
prefs.useTmpActiveExtraDbs = false;
|
|
||||||
prefs.tmpActiveExtraDbs.clear();
|
|
||||||
|
|
||||||
Rcl::Db::OpenError error;
|
Rcl::Db::OpenError error;
|
||||||
if (!rcldb->isopen() && !rcldb->open(Rcl::Db::DbRO, &error)) {
|
if (!rcldb->isopen() && !rcldb->open(Rcl::Db::DbRO, &error)) {
|
||||||
|
|||||||
@ -305,6 +305,8 @@ void RclMain::showRTITool(bool modal)
|
|||||||
|
|
||||||
void RclMain::showUIPrefs()
|
void RclMain::showUIPrefs()
|
||||||
{
|
{
|
||||||
|
prefs.useTmpActiveExtraDbs = false;
|
||||||
|
prefs.tmpActiveExtraDbs.clear();
|
||||||
if (uiprefs == 0) {
|
if (uiprefs == 0) {
|
||||||
uiprefs = new UIPrefsDialog(this);
|
uiprefs = new UIPrefsDialog(this);
|
||||||
connect(new QShortcut(quitKeySeq, uiprefs), SIGNAL (activated()),
|
connect(new QShortcut(quitKeySeq, uiprefs), SIGNAL (activated()),
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user