mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 20:37:35 +00:00
ClockSettings: Set window modified state
This commit is contained in:
parent
f27985a021
commit
57bac17b9f
2 changed files with 8 additions and 0 deletions
|
@ -50,6 +50,9 @@ TimeZoneSettingsWidget::TimeZoneSettingsWidget()
|
|||
m_time_zone_combo_box->set_only_allow_values_from_model(true);
|
||||
m_time_zone_combo_box->set_model(*StringViewListModel::create(time_zones));
|
||||
m_time_zone_combo_box->set_text(m_time_zone);
|
||||
m_time_zone_combo_box->on_change = [&](auto, auto) {
|
||||
set_modified(true);
|
||||
};
|
||||
|
||||
auto time_zone_map_bitmap = Gfx::Bitmap::try_load_from_file("/res/graphics/map.png"sv).release_value_but_fixme_should_propagate_errors();
|
||||
auto time_zone_rect = time_zone_map_bitmap->rect().shrunken(TIME_ZONE_MAP_NORTHERN_TRIM, 0, TIME_ZONE_MAP_SOUTHERN_TRIM, 0);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue