mirror of
https://github.com/libretro/scummvm.git
synced 2024-12-13 21:31:53 +00:00
GUI: Prevent the GUI code from incorrectly reloading the theme when the builtin theme is used.
This commit is contained in:
parent
3ce4b76b0d
commit
f1903004c0
@ -141,8 +141,8 @@ void OptionsDialog::init() {
|
|||||||
_subSpeedDesc = 0;
|
_subSpeedDesc = 0;
|
||||||
_subSpeedSlider = 0;
|
_subSpeedSlider = 0;
|
||||||
_subSpeedLabel = 0;
|
_subSpeedLabel = 0;
|
||||||
_oldTheme = ConfMan.get("gui_theme");
|
_oldTheme = g_gui.theme()->getThemeId();
|
||||||
|
|
||||||
// Retrieve game GUI options
|
// Retrieve game GUI options
|
||||||
_guioptions = 0;
|
_guioptions = 0;
|
||||||
if (ConfMan.hasKey("guioptions", _domain)) {
|
if (ConfMan.hasKey("guioptions", _domain)) {
|
||||||
|
Loading…
Reference in New Issue
Block a user