Merge branch 'herbalmenu' into 'master'

Add graphic herbalism to the launcher

Closes #5730

See merge request OpenMW/openmw!448
This commit is contained in:
psi29a 2020-12-10 21:31:53 +00:00
commit c8fa8cfe74
4 changed files with 24 additions and 0 deletions

View file

@ -153,6 +153,7 @@ bool Launcher::AdvancedPage::loadSettings()
if (showOwnedIndex >= 0 && showOwnedIndex <= 3)
showOwnedComboBox->setCurrentIndex(showOwnedIndex);
loadSettingBool(stretchBackgroundCheckBox, "stretch menu background", "GUI");
loadSettingBool(graphicHerbalismCheckBox, "graphic herbalism", "Game");
}
// Bug fixes
@ -279,6 +280,7 @@ void Launcher::AdvancedPage::saveSettings()
if (showOwnedCurrentIndex != mEngineSettings.getInt("show owned", "Game"))
mEngineSettings.setInt("show owned", "Game", showOwnedCurrentIndex);
saveSettingBool(stretchBackgroundCheckBox, "stretch menu background", "GUI");
saveSettingBool(graphicHerbalismCheckBox, "graphic herbalism", "Game");
}
// Bug fixes