mirror of
https://github.com/tonytins/CozyPixelStudio.git
synced 2025-12-17 03:24:43 -05:00
Toggled autosave on by default, and open last project off by default
This commit is contained in:
parent
5424472c95
commit
62a695366a
4 changed files with 3 additions and 9 deletions
|
|
@ -168,7 +168,6 @@ func _ready() -> void:
|
|||
$QuitAndSaveDialog.add_button("Save & Exit", false, "Save")
|
||||
$QuitAndSaveDialog.get_ok().text = "Exit without saving"
|
||||
|
||||
|
||||
if not Global.config_cache.has_section_key("preferences", "startup"):
|
||||
Global.config_cache.set_value("preferences", "startup", true)
|
||||
|
||||
|
|
@ -180,11 +179,6 @@ func _ready() -> void:
|
|||
else:
|
||||
Global.can_draw = true
|
||||
|
||||
if not Global.config_cache.has_section_key("preferences", "open_last_project"):
|
||||
Global.config_cache.set_value("preferences", "open_last_project", true)
|
||||
if Global.config_cache.get_value("preferences", "open_last_project"):
|
||||
Global.open_last_project = Global.config_cache.get_value("preferences", "open_last_project")
|
||||
|
||||
# If backup file exists then Pixelorama was not closed properly (probably crashed) - reopen backup
|
||||
$BackupConfirmation.get_cancel().text = tr("Delete")
|
||||
if Global.config_cache.has_section("backups"):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue