diff options
Diffstat (limited to 'gui/ThemeNew.cpp')
-rw-r--r-- | gui/ThemeNew.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/gui/ThemeNew.cpp b/gui/ThemeNew.cpp index 78afbb487a..b510b78485 100644 --- a/gui/ThemeNew.cpp +++ b/gui/ThemeNew.cpp @@ -97,6 +97,11 @@ _lastUsedBitMask(0), _forceRedraw(false), _imageHandles(0), _images(0), _colors( return; } + if (_configFile.hasKey("name", "theme")) + _configFile.getKey("name", "theme", _stylename); + else + _stylename = _stylefile; + _images = new const Graphics::Surface*[kImageHandlesMax]; assert(_images); |