summaryrefslogtreecommitdiffstats
path: root/scene/gui/popup_menu.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'scene/gui/popup_menu.cpp')
-rw-r--r--scene/gui/popup_menu.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/scene/gui/popup_menu.cpp b/scene/gui/popup_menu.cpp
index 207cf3df89..4f07fdb87b 100644
--- a/scene/gui/popup_menu.cpp
+++ b/scene/gui/popup_menu.cpp
@@ -1026,7 +1026,7 @@ void PopupMenu::_notification(int p_what) {
} break;
case NOTIFICATION_THEME_CHANGED: {
- scroll_container->add_theme_style_override("panel", theme_cache.panel_style);
+ scroll_container->add_theme_style_override(SceneStringName(panel), theme_cache.panel_style);
[[fallthrough]];
}