fix: isolate controller settings side effects
This commit is contained in:
parent
a8be597d27
commit
7aaed6393b
6 changed files with 40 additions and 16 deletions
|
|
@ -623,7 +623,10 @@ func _open_data_folder() -> void:
|
|||
if _data_root == null:
|
||||
_feedback.text = "the data folder is unavailable."
|
||||
return
|
||||
if not _data_root.open_folder():
|
||||
if (
|
||||
_data_root.root_path.is_empty()
|
||||
or OS.shell_open(_data_root.root_path) != OK
|
||||
):
|
||||
_feedback.text = "could not open the data folder."
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue