From 5e7cbc8f2c141889950628d0b81fcdb148fa278b Mon Sep 17 00:00:00 2001 From: Scott Kostyshak Date: Thu, 25 Jun 2015 08:21:46 -0400 Subject: [PATCH] Fix setting of pref "hide scrollbar in fullscreen" The symptom of the bug is that the preference could be incorrectly displayed (based on the value of the statusbar preference). This seems to have been a copy/paste mistake introduced in 214f7ed2. --- src/frontends/qt4/GuiPrefs.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/frontends/qt4/GuiPrefs.cpp b/src/frontends/qt4/GuiPrefs.cpp index 2ed17148e4..54b308c48d 100644 --- a/src/frontends/qt4/GuiPrefs.cpp +++ b/src/frontends/qt4/GuiPrefs.cpp @@ -2676,7 +2676,7 @@ void PrefEdit::updateRC(LyXRC const & rc) macroEditStyleCO->setCurrentIndex(rc.macro_edit_style); cursorWidthSB->setValue(rc.cursor_width); toggleScrollbarCB->setChecked(rc.full_screen_scrollbar); - toggleScrollbarCB->setChecked(rc.full_screen_statusbar); + toggleStatusbarCB->setChecked(rc.full_screen_statusbar); toggleToolbarsCB->setChecked(rc.full_screen_toolbars); toggleTabbarCB->setChecked(rc.full_screen_tabbar); toggleMenubarCB->setChecked(rc.full_screen_menubar); -- 2.39.5