mirror of
https://github.com/electron/electron.git
synced 2026-05-02 03:00:22 -04:00
win: Correctly close popup menu
This commit is contained in:
@@ -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_;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user