summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRémi Verschelde <rverschelde@gmail.com>2022-10-03 14:51:53 +0200
committerRémi Verschelde <rverschelde@gmail.com>2022-10-03 14:51:53 +0200
commit7dea80d0822ec0dce9136474d534b6e7a16edddb (patch)
tree66193889513cb72909becdd33a10e109134b3a92
parent306cbeb9fc519ff05a94658281a0f657d9bf9df2 (diff)
parent67e126bad40740a292e8633c1c0e12c883cd2951 (diff)
Merge pull request #66812 from Rindbee/fix-infinite-popups
Fix the file newer dialog that keeps popping up
-rw-r--r--editor/plugins/script_editor_plugin.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/editor/plugins/script_editor_plugin.cpp b/editor/plugins/script_editor_plugin.cpp
index 4dcd0573e6..c4d48d7cbe 100644
--- a/editor/plugins/script_editor_plugin.cpp
+++ b/editor/plugins/script_editor_plugin.cpp
@@ -1613,7 +1613,7 @@ void ScriptEditor::_notification(int p_what) {
EditorNode::get_singleton()->disconnect("stop_pressed", callable_mp(this, &ScriptEditor::_editor_stop));
} break;
- case NOTIFICATION_WM_WINDOW_FOCUS_IN: {
+ case NOTIFICATION_APPLICATION_FOCUS_IN: {
_test_script_times_on_disk();
_update_modified_scripts_for_external_editor();
} break;