mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 08:57:35 +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
|
@ -30,6 +30,7 @@ FontSettingsWidget::FontSettingsWidget()
|
|||
auto font_picker = GUI::FontPicker::construct(window(), &m_default_font_label->font(), false);
|
||||
if (font_picker->exec() == GUI::Dialog::ExecOK) {
|
||||
update_label_with_font(*m_default_font_label, *font_picker->font());
|
||||
set_modified(true);
|
||||
}
|
||||
};
|
||||
|
||||
|
@ -42,6 +43,7 @@ FontSettingsWidget::FontSettingsWidget()
|
|||
auto font_picker = GUI::FontPicker::construct(window(), &m_fixed_width_font_label->font(), true);
|
||||
if (font_picker->exec() == GUI::Dialog::ExecOK) {
|
||||
update_label_with_font(*m_fixed_width_font_label, *font_picker->font());
|
||||
set_modified(true);
|
||||
}
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue