Check for right screen-version.
This commit is contained in:
1 parent
fc432f34eb
commit
7f965e0f9b
1 file changed
+11
@@ -278,6 +278,17 @@ namespace VocaluxeLib.Menu
|
||||
{
|
||||
CBase.Log.LogError(e.Message + e.StackTrace, true, true);
|
||||
}
|
||||
if (_ScreenVersion != Theme.ScreenInformation.ScreenVersion)
|
||||
{
|
||||
string msg = "Can't load screen file of screen \"" + ThemeName + "\", ";
|
||||
if (Theme.ScreenInformation.ScreenVersion < _ScreenVersion)
|
||||
msg += "the file ist outdated! ";
|
||||
else
|
||||
msg += "the file is for newer program versions! ";
|
||||
|
||||
msg += "Current screen version is " + _ScreenVersion;
|
||||
CBase.Log.LogError(msg);
|
||||
}
|
||||
}
|
||||
|
||||
public virtual void LoadThemeOld(string xmlPath)
|
||||
|
||||
Reference in new issue
Block a user