mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-23 05:25:26 +00:00
Fix warning similar to bug 5799: http://bugzilla.lyx.org/show_bug.cgi?id=5799.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28625 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
36aa11863b
commit
3919eeafe4
@ -2601,7 +2601,9 @@ bool GuiPreferences::initialiseParams(string const &)
|
|||||||
update_screen_font_ = false;
|
update_screen_font_ = false;
|
||||||
|
|
||||||
updateRc(rc_);
|
updateRc(rc_);
|
||||||
bc().restore();
|
// Make sure that the bc is in the INITIAL state
|
||||||
|
if (bc().policy().buttonStatus(ButtonPolicy::RESTORE))
|
||||||
|
bc().restore();
|
||||||
|
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user