mirror of
https://github.com/tonytins/CozyPixelStudio.git
synced 2025-06-25 15:34:43 -04:00
Don't set Global.saved = true, change the window title and show a notification if a .pxo failed to get saved
This commit is contained in:
parent
eab57cf327
commit
4b2930fe67
2 changed files with 7 additions and 6 deletions
|
@ -209,10 +209,10 @@ func save_pxo_file(path : String) -> void:
|
|||
file.store_8(tag[3]) # Tag "to", the last frame
|
||||
file.store_line("END_FRAME_TAGS")
|
||||
|
||||
if !Global.saved:
|
||||
Global.saved = true
|
||||
|
||||
Global.window_title = current_save_path.get_file() + " - Pixelorama"
|
||||
Global.notification_label("File saved")
|
||||
file.close()
|
||||
|
||||
if !Global.saved:
|
||||
Global.saved = true
|
||||
|
||||
Global.window_title = current_save_path.get_file() + " - Pixelorama"
|
||||
Global.notification_label("File saved")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue