You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-18 14:21:41 +00:00
Fix the file newer dialog that keeps popping up
The focus is switching back and forth between the popup dialog and the editor window, causing an infinite loop. Fix #65824.
This commit is contained in:
@@ -1613,7 +1613,7 @@ void ScriptEditor::_notification(int p_what) {
|
|||||||
EditorNode::get_singleton()->disconnect("stop_pressed", callable_mp(this, &ScriptEditor::_editor_stop));
|
EditorNode::get_singleton()->disconnect("stop_pressed", callable_mp(this, &ScriptEditor::_editor_stop));
|
||||||
} break;
|
} break;
|
||||||
|
|
||||||
case NOTIFICATION_WM_WINDOW_FOCUS_IN: {
|
case NOTIFICATION_APPLICATION_FOCUS_IN: {
|
||||||
_test_script_times_on_disk();
|
_test_script_times_on_disk();
|
||||||
_update_modified_scripts_for_external_editor();
|
_update_modified_scripts_for_external_editor();
|
||||||
} break;
|
} break;
|
||||||
|
|||||||
Reference in New Issue
Block a user