summaryrefslogtreecommitdiff
path: root/scene/gui/popup.h
diff options
context:
space:
mode:
Diffstat (limited to 'scene/gui/popup.h')
-rw-r--r--scene/gui/popup.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/scene/gui/popup.h b/scene/gui/popup.h
index 6211af4d20..b53c8be50f 100644
--- a/scene/gui/popup.h
+++ b/scene/gui/popup.h
@@ -48,8 +48,6 @@ class Popup : public Window {
void _initialize_visible_parents();
void _deinitialize_visible_parents();
- void _parent_focused();
-
protected:
void _close_pressed();
virtual Rect2i _popup_adjust_rect() const override;
@@ -57,6 +55,10 @@ protected:
void _notification(int p_what);
static void _bind_methods();
+ virtual void _parent_focused();
+
+ virtual void _post_popup() override;
+
public:
Popup();
~Popup();