mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 16:57:46 +00:00
MouseSettings: Update the cursor theme preview when restoring defaults
Previously, if you opened MouseSettings, set the cursor theme to Dark, and then click "Defaults", the cursors list would not update. ComboBox::set_text() does not call the on_change callback, so we have to run the steps manually. I've also made `m_theme_name` into a local variable, since it can be.
This commit is contained in:
parent
6ba03dec35
commit
e74e320750
2 changed files with 10 additions and 9 deletions
|
@ -75,5 +75,5 @@ private:
|
|||
|
||||
RefPtr<GUI::TableView> m_cursors_tableview;
|
||||
RefPtr<GUI::ComboBox> m_theme_name_box;
|
||||
String m_theme_name;
|
||||
RefPtr<MouseCursorModel> m_mouse_cursor_model;
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue