From ac80e68d2f60012f315d268c4a9d70dffb02f901 Mon Sep 17 00:00:00 2001 From: Andreas Haas Date: Sun, 2 Oct 2016 20:39:15 +0200 Subject: Fix "Save All" option in Script editor. Also removes some old code. fixes #6667 --- tools/editor/plugins/script_editor_plugin.cpp | 21 +-------------------- 1 file changed, 1 insertion(+), 20 deletions(-) (limited to 'tools/editor/plugins') diff --git a/tools/editor/plugins/script_editor_plugin.cpp b/tools/editor/plugins/script_editor_plugin.cpp index fd25843de9..3cd6d8336a 100644 --- a/tools/editor/plugins/script_editor_plugin.cpp +++ b/tools/editor/plugins/script_editor_plugin.cpp @@ -755,29 +755,10 @@ void ScriptEditor::_menu_option(int p_option) { } break; case FILE_SAVE_ALL: { - if (!_test_script_times_on_disk()) + if (_test_script_times_on_disk()) return; save_all_scripts(); - -#if 0 - for(int i=0;iget_child_count();i++) { - - ScriptTextEditor *se = tab_container->get_child(i)->cast_to(); - if (!se) - continue; - - - Ref