mirror of
https://github.com/hobbesjaap/time-sampling-form.git
synced 2024-12-22 07:29:54 +00:00
Results folder currently not opening on MacOS - trying to fix error 50
This commit is contained in:
parent
9d1d38db90
commit
a94eaa0419
@ -70,10 +70,15 @@ func _on_SaveReport_pressed():
|
||||
# We're not on the web
|
||||
print("We're not on the web")
|
||||
|
||||
|
||||
var _error2 = image.save_png("user://results.png")
|
||||
var title = str("user://results",global_ints.observed_person_name, global_ints.observation_minutes,".png")
|
||||
|
||||
var _error = OS.shell_open(OS.get_user_data_dir())
|
||||
print(title)
|
||||
|
||||
var _saveimage = image.save_png(title)
|
||||
|
||||
var folder = OS.get_user_data_dir()
|
||||
|
||||
var _openfolder = OS.shell_open(folder)
|
||||
|
||||
$"%SaveReport".visible = true
|
||||
$"%BackMainMenu".visible = true
|
||||
|
@ -80,6 +80,7 @@ __meta__ = {
|
||||
}
|
||||
|
||||
[node name="StartScreen" type="CanvasLayer" parent="."]
|
||||
visible = false
|
||||
|
||||
[node name="InstructionPanel" type="Panel" parent="StartScreen"]
|
||||
unique_name_in_owner = true
|
||||
|
Loading…
Reference in New Issue
Block a user