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
10ca31b916
commit
42e8c8cb50
|
@ -324,7 +324,7 @@ func save_pxo_file(
|
|||
path: String, autosave: bool, include_blended := false, 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