fixed theme switching

This commit is contained in:
Alexander Eckart committed 2013-01-03 16:06:14 +01:00
1 parent f756ce4158
commit 0e8e61905c
5 files changed
+8 -8

No files matched your search

+3 -3
View File
@@ -663,14 +663,14 @@ namespace Vocaluxe.Menu
}
}
public virtual void ReloadTheme()
public virtual void ReloadTheme(string XmlPath)
{
if (_ThemePath == String.Empty)
return;
UnloadTextures();
Init();
LoadTheme(_ThemePath);
Init();
LoadTheme(XmlPath);
}
#endregion ThemeHandler