1
0
Fork 0
mirror of https://github.com/Orama-Interactive/Pixelorama.git synced 2025-01-18 17:19:50 +00:00

Fix opening pre-v0.8 pxo files

This commit is contained in:
Manolis Papadeas 2021-09-07 20:31:32 +03:00
parent 7bbc01d978
commit f3ea6b57cd

View file

@ -102,7 +102,7 @@ func open_pxo_file(path : String, untitled_backup : bool = false, replace_empty
Global.projects.append(new_project)
Global.tabs.current_tab = Global.tabs.get_tab_count() - 1
else:
if dict.result.has("fps"):
if dict.error == OK and dict.result.has("fps"):
Global.animation_timeline.fps_spinbox.value = dict.result.fps
new_project.frames = new_project.frames # Just to call frames_changed
new_project.layers = new_project.layers # Just to call layers_changed