1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 11:28:12 +00:00

WindowServer: Update alt shortcuts for menu items when text changes

WindowServer: Make CI happy :^)
This commit is contained in:
Alec Murphy 2022-11-01 18:00:19 -04:00 committed by Andrew Kaster
parent f5a2603714
commit c2f3dead91
3 changed files with 16 additions and 3 deletions

View file

@ -233,6 +233,8 @@ void Window::update_window_menu_items()
m_window_menu_close_item->set_enabled(m_closeable);
m_window_menu_move_item->set_enabled(m_minimized_state == WindowMinimizedState::None && !is_maximized() && !m_fullscreen);
m_window_menu->update_alt_shortcuts_for_items();
}
void Window::set_minimized(bool minimized)