mirror of
https://github.com/Orama-Interactive/Pixelorama.git
synced 2025-01-31 07:29:49 +00:00
Fix id_map error on open_pxo_file as well as grid being wrong size (#765)
Co-authored-by: MrTriPie <MrTriPie>
This commit is contained in:
parent
637662dee4
commit
0faacafb16
|
@ -135,9 +135,7 @@ func open_pxo_file(path: String, untitled_backup: bool = false, replace_empty: b
|
||||||
|
|
||||||
file.close()
|
file.close()
|
||||||
if empty_project:
|
if empty_project:
|
||||||
if dict.error == OK and dict.result.has("fps"):
|
new_project.change_project()
|
||||||
Global.animation_timeline.fps_spinbox.value = dict.result.fps
|
|
||||||
Global.animation_timeline.project_changed()
|
|
||||||
else:
|
else:
|
||||||
Global.projects.append(new_project)
|
Global.projects.append(new_project)
|
||||||
Global.tabs.current_tab = Global.tabs.get_tab_count() - 1
|
Global.tabs.current_tab = Global.tabs.get_tab_count() - 1
|
||||||
|
|
Loading…
Reference in a new issue