mirror of
https://github.com/Orama-Interactive/Pixelorama.git
synced 2025-01-18 17:19:50 +00:00
Emit project_changed and cel_changed signals when opening a project that replaces the old one
This commit is contained in:
parent
d266c87269
commit
aa47133f9f
|
@ -176,6 +176,8 @@ func open_pxo_file(path: String, untitled_backup: bool = false, replace_empty: b
|
|||
file.close()
|
||||
if empty_project:
|
||||
new_project.change_project()
|
||||
Global.emit_signal("project_changed")
|
||||
Global.emit_signal("cel_changed")
|
||||
else:
|
||||
Global.projects.append(new_project)
|
||||
Global.tabs.current_tab = Global.tabs.get_tab_count() - 1
|
||||
|
|
Loading…
Reference in a new issue