Prevent infinite confirmation in shader editor

This commit is contained in:
kobewi 2022-10-04 00:28:06 +02:00
parent 1371a97acf
commit 1a9516f6a8
1 changed files with 1 additions and 1 deletions

View File

@ -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;
}