mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 01:47:34 +00:00
WindowServer: Update checked state of m_window_menu_always_on_top_item
when setting it programmatically.
This commit is contained in:
parent
f8e0bcbedf
commit
0c2f36966c
1 changed files with 3 additions and 0 deletions
|
@ -236,6 +236,9 @@ void Window::update_window_menu_items()
|
|||
|
||||
m_window_menu_move_item->set_enabled(m_minimized_state == WindowMinimizedState::None && !is_maximized() && !m_fullscreen);
|
||||
|
||||
if (m_window_menu_always_on_top_item)
|
||||
m_window_menu_always_on_top_item->set_checked(m_always_on_top);
|
||||
|
||||
m_window_menu->update_alt_shortcuts_for_items();
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue