mirror of
https://github.com/tonytins/CozyPixelStudio.git
synced 2025-06-25 15:44:42 -04:00
Use new window_title variable to change window's title
Will be used later to get the current window title. Godot doesn't seem to have a built-in way to get the window's title.
This commit is contained in:
parent
52fa460876
commit
eab3669eb2
3 changed files with 9 additions and 4 deletions
|
@ -111,5 +111,5 @@ func _on_ImportSprites_files_selected(paths : PoolStringArray) -> void:
|
|||
Global.canvas = Global.canvases[Global.canvases.size() - 1]
|
||||
Global.canvas.visible = true
|
||||
|
||||
OS.set_window_title(first_path.get_file() + " (" + tr("imported") + ") - Pixelorama")
|
||||
Global.window_title = first_path.get_file() + " (" + tr("imported") + ") - Pixelorama"
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue