diff options
author | Hugo Locurcio <hugo.locurcio@hugo.pro> | 2020-01-24 12:18:00 +0100 |
---|---|---|
committer | Hugo Locurcio <hugo.locurcio@hugo.pro> | 2020-01-24 12:18:26 +0100 |
commit | 81f33df84b8f72d633081cdf2c7b8cd5700d9c87 (patch) | |
tree | 3f52beef3010df73e1b5d8b260e3a69e0f486a68 /editor | |
parent | 1c6d1fcf956b882fc8a14fa595b7f1e9b15e1574 (diff) |
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.
Diffstat (limited to 'editor')
-rw-r--r-- | editor/script_editor_debugger.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/editor/script_editor_debugger.cpp b/editor/script_editor_debugger.cpp index 71a946b256..0f67bc021e 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(); } |