Skip to content

Commit

Permalink
FIX: Proper filtering of style selection
Browse files Browse the repository at this point in the history
  • Loading branch information
till213 committed May 9, 2024
1 parent 345b1d9 commit 2375f33
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/UserInterface/src/Dialog/SettingsDialog.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,7 @@ void SettingsDialog::initUi() noexcept
for (const auto &key : styleKeys) {
const auto lowerKey = key.toLower();
const auto &styleName = d->knownStyleNames.contains(lowerKey) ? d->knownStyleNames[lowerKey] : key;
if (!(System::isWindows10() && lowerKey == ::Windows11StyleKey) && !(System::isWindows11() && lowerKey == ::Windows11StyleKey)) {
if (!(System::isWindows10() && lowerKey == ::Windows11StyleKey) && !(System::isWindows11() && lowerKey == ::WindowsVistaStyleKey)) {
ui->styleComboBox->addItem(styleName, lowerKey);
}
}
Expand Down

0 comments on commit 2375f33

Please sign in to comment.