aboutsummaryrefslogtreecommitdiffstats
path: root/src/base/UThemes.pas
diff options
context:
space:
mode:
Diffstat (limited to 'src/base/UThemes.pas')
-rw-r--r--src/base/UThemes.pas4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/base/UThemes.pas b/src/base/UThemes.pas
index b9ec8bb0..283c148d 100644
--- a/src/base/UThemes.pas
+++ b/src/base/UThemes.pas
@@ -1047,7 +1047,7 @@ begin
// set correct default skin
Skin.GetSkinsByTheme(Entry.Name, Skins);
Entry.DefaultSkin := max(0, GetArrayIndex(Skins, SkinName, true));
-
+
Len := Length(Themes);
SetLength(Themes, Len + 1);
SetLength(ITheme, Len + 1);
@@ -1106,7 +1106,7 @@ begin
Skin.SkinReg := false; }
Skin.Color := sColor;
- Skin.LoadSkin(ISkin[Ini.SkinNo]);
+ Skin.LoadSkin(ISkin[Ini.SkinNo], Themes[ThemeNum].Name);
LoadColors;