Explorar o código

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 %!s(int64=5) %!d(string=hai) anos
pai
achega
81f33df84b
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  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();
 }