Coding style fixes
This commit is contained in:
parent
5bf16c2495
commit
e4770c7604
3 changed files with 9 additions and 10 deletions
|
@ -60,9 +60,10 @@ void MenuViews::PopupAt(Window* window, int x, int y, int positioning_item) {
|
|||
}
|
||||
|
||||
void MenuViews::ClosePopupAt(int32_t window_id) {
|
||||
if (menu_runners_[window_id])
|
||||
if (menu_runners_[window_id]) {
|
||||
menu_runners_[window_id]->Cancel();
|
||||
menu_runners_.erase(window_id);
|
||||
menu_runners_.erase(window_id);
|
||||
}
|
||||
}
|
||||
|
||||
// static
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue