mirror of
https://github.com/aseprite/aseprite.git
synced 2025-01-30 15:32:38 +00:00
Set the theme to the default one if the user-defined one is invalid
Related to #1283
This commit is contained in:
parent
e12c533270
commit
2366721a82
@ -203,7 +203,8 @@ void SkinTheme::onRegenerate()
|
||||
Console::showException(e);
|
||||
|
||||
// We can continue, as we've already loaded the default theme
|
||||
// anyway...
|
||||
// anyway. Here we restore the setting to its default value.
|
||||
pref.theme.selected(pref.theme.selected.defaultValue());
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user