GuiCitation: set instant search as the default

It was already supposed to be the default after 7d429291, but one has to set the
default value at the level of the QSettings.
This commit is contained in:
Guillaume Munch 2017-02-22 16:41:38 +01:00
parent 8353a53cc3
commit 0a7ba185a3

View File

@ -1052,7 +1052,7 @@ void GuiCitation::restoreSession()
QSettings settings; QSettings settings;
regexp_->setChecked(settings.value(sessionKey() + "/regex").toBool()); regexp_->setChecked(settings.value(sessionKey() + "/regex").toBool());
casesense_->setChecked(settings.value(sessionKey() + "/casesensitive").toBool()); casesense_->setChecked(settings.value(sessionKey() + "/casesensitive").toBool());
instant_->setChecked(settings.value(sessionKey() + "/autofind").toBool()); instant_->setChecked(settings.value(sessionKey() + "/autofind", true).toBool());
style_ = settings.value(sessionKey() + "/citestyle").toInt(); style_ = settings.value(sessionKey() + "/citestyle").toInt();
updateFilterHint(); updateFilterHint();
} }