win: Correctly close popup menu
This commit is contained in:
parent
459db92052
commit
088042841d
3 changed files with 23 additions and 7 deletions
|
@ -25,6 +25,8 @@ class MenuViews : public Menu {
|
|||
void ClosePopupAt(int32_t window_id) override;
|
||||
|
||||
private:
|
||||
void OnClosed(int32_t window_id);
|
||||
|
||||
// window ID -> open context menu
|
||||
std::map<int32_t, std::unique_ptr<views::MenuRunner>> menu_runners_;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue