mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 19:47:44 +00:00
DisplaySettings: Set window modified state
This commit is contained in:
parent
af01c6be0c
commit
d7190be3a3
5 changed files with 23 additions and 7 deletions
|
@ -44,8 +44,9 @@ ThemesSettingsWidget::ThemesSettingsWidget(bool& background_settings_changed)
|
|||
m_themes_combo->on_change = [this](auto&, const GUI::ModelIndex& index) {
|
||||
m_selected_theme = &m_themes.at(index.row());
|
||||
m_theme_preview->set_theme(m_selected_theme->path);
|
||||
set_modified(true);
|
||||
};
|
||||
m_themes_combo->set_selected_index(current_theme_index);
|
||||
m_themes_combo->set_selected_index(current_theme_index, GUI::AllowCallback::No);
|
||||
}
|
||||
|
||||
void ThemesSettingsWidget::apply_settings()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue