Capitalize theme names

This commit is contained in:
RedBlackAka 2025-01-19 04:16:26 +00:00 committed by Adam Honse
parent 29e384af98
commit 6ac3fae951
2 changed files with 5 additions and 5 deletions

View file

@ -73,7 +73,7 @@ OpenRGBSettingsPage::OpenRGBSettingsPage(QWidget *parent) :
/*---------------------------------------------------------*\
| Load theme settings |
\*---------------------------------------------------------*/
ui->ComboBoxTheme->addItems({"auto", "light", "dark"});
ui->ComboBoxTheme->addItems({"Auto", "Light", "Dark"});
json theme_settings = ResourceManager::get()->GetSettingsManager()->GetSettings("Theme");
@ -84,7 +84,7 @@ OpenRGBSettingsPage::OpenRGBSettingsPage(QWidget *parent) :
}
else
{
ui->ComboBoxTheme->setCurrentText(QString::fromStdString(("light")));
ui->ComboBoxTheme->setCurrentText(QString::fromStdString(("Light")));
}
theme_initialized = true;