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
|
@ -1622,6 +1622,7 @@ void ScriptEditorDebugger::_output_clear() {
|
||||||
void ScriptEditorDebugger::_export_csv() {
|
void ScriptEditorDebugger::_export_csv() {
|
||||||
|
|
||||||
file_dialog->set_mode(EditorFileDialog::MODE_SAVE_FILE);
|
file_dialog->set_mode(EditorFileDialog::MODE_SAVE_FILE);
|
||||||
|
file_dialog->set_access(EditorFileDialog::ACCESS_FILESYSTEM);
|
||||||
file_dialog_mode = SAVE_CSV;
|
file_dialog_mode = SAVE_CSV;
|
||||||
file_dialog->popup_centered_ratio();
|
file_dialog->popup_centered_ratio();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue