mirror of
https://github.com/tonytins/CozyPixelStudio.git
synced 2025-12-17 15:24:43 -05:00
Move "Recent projects" up, just below "Open last project" in the File menu
This commit is contained in:
parent
00a4722966
commit
7dd9b36cdc
5 changed files with 11 additions and 11 deletions
|
|
@ -191,9 +191,9 @@ func change_project() -> void:
|
|||
if save_path != "":
|
||||
Global.open_sprites_dialog.current_path = save_path
|
||||
Global.save_sprites_dialog.current_path = save_path
|
||||
Global.file_menu.get_popup().set_item_text(3, tr("Save") + " %s" % save_path.get_file())
|
||||
Global.file_menu.get_popup().set_item_text(4, tr("Save") + " %s" % save_path.get_file())
|
||||
else:
|
||||
Global.file_menu.get_popup().set_item_text(3, tr("Save"))
|
||||
Global.file_menu.get_popup().set_item_text(4, tr("Save"))
|
||||
|
||||
Export.directory_path = directory_path
|
||||
Export.file_name = file_name
|
||||
|
|
@ -201,9 +201,9 @@ func change_project() -> void:
|
|||
Export.was_exported = was_exported
|
||||
|
||||
if !was_exported:
|
||||
Global.file_menu.get_popup().set_item_text(5, tr("Export"))
|
||||
Global.file_menu.get_popup().set_item_text(6, tr("Export"))
|
||||
else:
|
||||
Global.file_menu.get_popup().set_item_text(5, tr("Export") + " %s" % (file_name + Export.file_format_string(file_format)))
|
||||
Global.file_menu.get_popup().set_item_text(6, tr("Export") + " %s" % (file_name + Export.file_format_string(file_format)))
|
||||
|
||||
|
||||
func serialize() -> Dictionary:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue