mirror of
https://github.com/Orama-Interactive/Pixelorama.git
synced 2025-01-18 17:19:50 +00:00
When saving, don't include ".pxo" in the project name
This commit is contained in:
parent
2b2a65e791
commit
75d13a0dd9
|
@ -216,7 +216,7 @@ func save_pxo_file(
|
|||
project: Project = Global.current_project
|
||||
) -> bool:
|
||||
if !autosave:
|
||||
project.name = path.get_file()
|
||||
project.name = path.get_file().trim_suffix(".pxo")
|
||||
var serialized_data := project.serialize()
|
||||
if !serialized_data:
|
||||
Global.error_dialog.set_text(
|
||||
|
|
Loading…
Reference in a new issue