aboutsummaryrefslogtreecommitdiff
path: root/scene/gui/panel.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'scene/gui/panel.cpp')
-rw-r--r--scene/gui/panel.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/scene/gui/panel.cpp b/scene/gui/panel.cpp
index 68d01ccb6..c4b7199c3 100644
--- a/scene/gui/panel.cpp
+++ b/scene/gui/panel.cpp
@@ -41,7 +41,7 @@ void Panel::_notification(int p_what) {
Panel::Panel() {
- set_stop_mouse(true);
+ set_mouse_filter(MOUSE_FILTER_STOP);
}