summaryrefslogtreecommitdiffstats
path: root/scene/gui/popup.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'scene/gui/popup.cpp')
-rw-r--r--scene/gui/popup.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/scene/gui/popup.cpp b/scene/gui/popup.cpp
index 38204af6d5..10fadeeba1 100644
--- a/scene/gui/popup.cpp
+++ b/scene/gui/popup.cpp
@@ -271,7 +271,7 @@ void PopupPanel::_notification(int p_what) {
switch (p_what) {
case NOTIFICATION_READY:
case NOTIFICATION_THEME_CHANGED: {
- panel->add_theme_style_override("panel", theme_cache.panel_style);
+ panel->add_theme_style_override(SceneStringName(panel), theme_cache.panel_style);
_update_child_rects();
} break;