mirror of
https://github.com/Orama-Interactive/Pixelorama.git
synced 2025-02-20 12:33:14 +00:00
Update "Don't show again" button's pressed status based on what the user has selected
This commit is contained in:
parent
46e4ea15ad
commit
b0e9870d54
1 changed files with 2 additions and 0 deletions
|
@ -6,6 +6,8 @@ onready var show_on_startup_button : CheckBox = $Contents/BottomHboxContainer/Sh
|
|||
onready var developed_by_label : Label = $Contents/BottomHboxContainer/VBoxContainer/DevelopedBy
|
||||
|
||||
func _on_SplashDialog_about_to_show() -> void:
|
||||
if Global.config_cache.has_section_key("preferences", "startup"):
|
||||
show_on_startup_button.pressed = !Global.config_cache.get_value("preferences", "startup")
|
||||
var current_version : String = ProjectSettings.get_setting("application/config/Version")
|
||||
window_title = "Pixelorama" + " " + current_version
|
||||
changes_label.text = current_version + " " + tr("Changes")
|
||||
|
|
Loading…
Add table
Reference in a new issue