mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 22:48:11 +00:00
MouseSettings: Set window modified state
This commit is contained in:
parent
7d6f5f19fd
commit
17b41f0d61
3 changed files with 36 additions and 9 deletions
|
@ -121,10 +121,11 @@ ThemeWidget::ThemeWidget()
|
|||
m_theme_name_box = find_descendant_of_type_named<GUI::ComboBox>("theme_name_box");
|
||||
m_theme_name_box->on_change = [this](String const& value, GUI::ModelIndex const&) mutable {
|
||||
m_mouse_cursor_model->change_theme(value);
|
||||
set_modified(true);
|
||||
};
|
||||
m_theme_name_box->set_model(ThemeModel::create());
|
||||
m_theme_name_box->model()->invalidate();
|
||||
m_theme_name_box->set_text(theme_name);
|
||||
m_theme_name_box->set_text(theme_name, GUI::AllowCallback::No);
|
||||
}
|
||||
|
||||
void ThemeWidget::apply_settings()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue