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.
This commit is contained in:
Scott Kostyshak 2015-06-25 08:21:46 -04:00
parent 0751f96d25
commit 5e7cbc8f2c

View File

@ -2676,7 +2676,7 @@ void PrefEdit::updateRC(LyXRC const & rc)
macroEditStyleCO->setCurrentIndex(rc.macro_edit_style); macroEditStyleCO->setCurrentIndex(rc.macro_edit_style);
cursorWidthSB->setValue(rc.cursor_width); cursorWidthSB->setValue(rc.cursor_width);
toggleScrollbarCB->setChecked(rc.full_screen_scrollbar); toggleScrollbarCB->setChecked(rc.full_screen_scrollbar);
toggleScrollbarCB->setChecked(rc.full_screen_statusbar); toggleStatusbarCB->setChecked(rc.full_screen_statusbar);
toggleToolbarsCB->setChecked(rc.full_screen_toolbars); toggleToolbarsCB->setChecked(rc.full_screen_toolbars);
toggleTabbarCB->setChecked(rc.full_screen_tabbar); toggleTabbarCB->setChecked(rc.full_screen_tabbar);
toggleMenubarCB->setChecked(rc.full_screen_menubar); toggleMenubarCB->setChecked(rc.full_screen_menubar);