Browse Source

Prevent infinite confirmation in shader editor

kobewi 2 years ago
parent
commit
1a9516f6a8
1 changed files with 1 additions and 1 deletions
  1. 1 1
      editor/plugins/text_shader_editor.cpp

+ 1 - 1
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;
 	}