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.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/scene/gui/popup_menu.cpp b/scene/gui/popup_menu.cpp
index bdd0102b63..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]];
}
@@ -2422,7 +2422,7 @@ void PopupMenu::activate_item(int p_idx) {
hide();
}
- emit_signal(SNAME("id_pressed"), id);
+ emit_signal(SceneStringName(id_pressed), id);
emit_signal(SNAME("index_pressed"), p_idx);
}