diff options
author | crupest <crupest@outlook.com> | 2022-02-16 23:41:28 +0800 |
---|---|---|
committer | crupest <crupest@outlook.com> | 2022-02-16 23:41:28 +0800 |
commit | 77e0fd5cf7dd35324a7c3a43f2004fb923c6254c (patch) | |
tree | 0d66fd74fa61bb680ac0ae35c9faa4e5d853f295 /src/ui/components/PopupButton.cpp | |
parent | 9307bd1af7c52aaf9c6d25b598bf3069a63c32a1 (diff) | |
download | cru-77e0fd5cf7dd35324a7c3a43f2004fb923c6254c.tar.gz cru-77e0fd5cf7dd35324a7c3a43f2004fb923c6254c.tar.bz2 cru-77e0fd5cf7dd35324a7c3a43f2004fb923c6254c.zip |
...
Diffstat (limited to 'src/ui/components/PopupButton.cpp')
-rw-r--r-- | src/ui/components/PopupButton.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ui/components/PopupButton.cpp b/src/ui/components/PopupButton.cpp index 8eed7c09..f09bf2d1 100644 --- a/src/ui/components/PopupButton.cpp +++ b/src/ui/components/PopupButton.cpp @@ -12,7 +12,7 @@ PopupMenuTextButton::PopupMenuTextButton() : popup_menu_(&button_) { }); } -PopupMenuTextButton::~PopupMenuTextButton() { button_.RemoveFromParent(); } +PopupMenuTextButton::~PopupMenuTextButton() {} void PopupMenuTextButton::SetMenuItems(std::vector<String> items) { popup_menu_.GetMenu()->ClearItems(); |