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.
This commit is contained in:
parent
1c6d1fcf95
commit
81f33df84b
1 changed files with 1 additions and 0 deletions
|
@ -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();
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue