mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 00:17:46 +00:00
WindowServer: Remove redundant Window::set_visible() in Menu::do_popup()
We're already calling MenuManager::open_menu(), which will take care of making the menu window visible if needed.
This commit is contained in:
parent
5f8c949ea1
commit
239520ae54
1 changed files with 0 additions and 1 deletions
|
@ -638,7 +638,6 @@ void Menu::do_popup(const Gfx::IntPoint& position, bool make_input, bool as_subm
|
|||
}
|
||||
|
||||
window.move_to(adjusted_pos);
|
||||
set_visible(true);
|
||||
MenuManager::the().open_menu(*this, make_input);
|
||||
WindowManager::the().did_popup_a_menu({});
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue