From 81f33df84b8f72d633081cdf2c7b8cd5700d9c87 Mon Sep 17 00:00:00 2001 From: Hugo Locurcio Date: Fri, 24 Jan 2020 12:18:00 +0100 Subject: [PATCH] Allow saving anywhere when exporting CSV measures from the profiler Previously, the CSV file could only be saved in `res://`. Since this is an editor tool, it makes sense to allow saving anywhere on the filesystem. --- editor/script_editor_debugger.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/editor/script_editor_debugger.cpp b/editor/script_editor_debugger.cpp index 71a946b256c..0f67bc021e1 100644 --- a/editor/script_editor_debugger.cpp +++ b/editor/script_editor_debugger.cpp @@ -1622,6 +1622,7 @@ void ScriptEditorDebugger::_output_clear() { void ScriptEditorDebugger::_export_csv() { file_dialog->set_mode(EditorFileDialog::MODE_SAVE_FILE); + file_dialog->set_access(EditorFileDialog::ACCESS_FILESYSTEM); file_dialog_mode = SAVE_CSV; file_dialog->popup_centered_ratio(); }