fix: Invalid theme load error
This commit is contained in:
parent
54ef5785cd
commit
0b18930017
@ -52,7 +52,6 @@ namespace hex::api {
|
||||
void ThemeManager::changeTheme(std::string name) {
|
||||
if (!s_themes.contains(name)) {
|
||||
if (s_themes.empty()) {
|
||||
hex::log::error("Theme '{}' does not exist and no other themes are available!", name);
|
||||
return;
|
||||
} else {
|
||||
const std::string &defaultTheme = s_themes.begin()->first;
|
||||
|
Loading…
x
Reference in New Issue
Block a user