Ver código fonte

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.
Hugo Locurcio 5 anos atrás
pai
commit
81f33df84b
1 arquivos alterados com 1 adições e 0 exclusões
  1. 1 0
      editor/script_editor_debugger.cpp

+ 1 - 0
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();
 }