summaryrefslogtreecommitdiff
path: root/editor/plugins
diff options
context:
space:
mode:
authorkobewi <kobewi4e@gmail.com>2022-10-04 00:28:06 +0200
committerkobewi <kobewi4e@gmail.com>2022-10-04 00:28:06 +0200
commit1a9516f6a82443aa818f86acb69e38a83fa709f3 (patch)
tree4355b31fa353839c4194505c89f89dc62d2f7f69 /editor/plugins
parent1371a97acfb9263aaca7fa8642e95ba68534fa19 (diff)
Prevent infinite confirmation in shader editor
Diffstat (limited to 'editor/plugins')
-rw-r--r--editor/plugins/text_shader_editor.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/editor/plugins/text_shader_editor.cpp b/editor/plugins/text_shader_editor.cpp
index dfd5e76ba6..ef3f451079 100644
--- a/editor/plugins/text_shader_editor.cpp
+++ b/editor/plugins/text_shader_editor.cpp
@@ -715,7 +715,7 @@ void TextShaderEditor::_notification(int p_what) {
popup->set_item_icon(popup->get_item_index(HELP_DOCS), get_theme_icon(SNAME("ExternalLink"), SNAME("EditorIcons")));
} break;
- case NOTIFICATION_WM_WINDOW_FOCUS_IN: {
+ case NOTIFICATION_APPLICATION_FOCUS_IN: {
_check_for_external_edit();
} break;
}