mirror of
https://github.com/Orama-Interactive/Pixelorama.git
synced 2025-01-31 07:29:49 +00:00
Set SaveSprite's current path when opening a project
This commit is contained in:
parent
5a5484d4e0
commit
30ce04b7f3
|
@ -473,6 +473,7 @@ func _on_OpenSprite_file_selected(path : String) -> void:
|
|||
file.close()
|
||||
|
||||
current_save_path = path
|
||||
$SaveSprite.current_path = path
|
||||
$ExportSprites.current_export_path = path.trim_suffix(".pxo") + ".png"
|
||||
$ExportSprites.current_path = $ExportSprites.current_export_path
|
||||
file_menu.set_item_text(2, tr("Save") + " %s" % path.get_file())
|
||||
|
|
Loading…
Reference in a new issue