mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-27 22:41:09 +00:00
Amend bea7ef04e
(find's auto-wrap by default)
The default in the .ui is not considered in GuiSearchWidget::restoreSession(), which sets a hard-coded default if the stored setting is not found in the session file. I'll start an ML discussion for whether the code in restoreSession() should use the ui's default if the setting is not found in the session.
This commit is contained in:
parent
62ad205dbf
commit
056ab33f48
@ -555,8 +555,8 @@ void GuiSearchWidget::restoreSession(QString const & session_key)
|
||||
act_wholewords_->setChecked(settings.value(session_key + "/words", false).toBool());
|
||||
instantSearchCB->setChecked(settings.value(session_key + "/instant", false).toBool());
|
||||
act_immediate_->setChecked(settings.value(session_key + "/instant", false).toBool());
|
||||
wrapCB->setChecked(settings.value(session_key + "/wrap", false).toBool());
|
||||
act_wrap_->setChecked(settings.value(session_key + "/wrap", false).toBool());
|
||||
wrapCB->setChecked(settings.value(session_key + "/wrap", true).toBool());
|
||||
act_wrap_->setChecked(settings.value(session_key + "/wrap", true).toBool());
|
||||
selectionCB->setChecked(settings.value(session_key + "/selection", false).toBool());
|
||||
act_selection_->setChecked(settings.value(session_key + "/selection", false).toBool());
|
||||
minimized_ = settings.value(session_key + "/minimized", false).toBool();
|
||||
|
Loading…
Reference in New Issue
Block a user