1
0
Fork 1
mirror of https://github.com/TES3MP/openmw-tes3mp.git synced 2025-01-19 23:23:52 +00:00

Partially address feature #854 by reading the status bar setting from opencs.ini. Missing GUI update that will affect new top level windows.

This commit is contained in:
cc9cii 2014-09-14 14:04:47 +10:00
parent 0ec20b23aa
commit e4b836608c

View file

@ -98,6 +98,10 @@ void CSVDoc::View::setupViewMenu()
mShowStatusBar = new QAction (tr ("Show Status Bar"), this);
mShowStatusBar->setCheckable (true);
connect (mShowStatusBar, SIGNAL (toggled (bool)), this, SLOT (toggleShowStatusBar (bool)));
std::string showStatusBar =
CSMSettings::UserSettings::instance().settingValue("Display/show statusbar").toStdString();
if(showStatusBar == "true")
mShowStatusBar->setChecked(true);
view->addAction (mShowStatusBar);
QAction *filters = new QAction (tr ("Filters"), this);