1
0
Fork 0
mirror of https://github.com/Orama-Interactive/Pixelorama.git synced 2025-01-18 17:19:50 +00:00

Fix wrong "Export" text changing on the File menu

This commit is contained in:
OverloadedOrama 2020-06-25 05:07:07 +03:00
parent 8230d9de96
commit 9fbfbc7432
2 changed files with 2 additions and 2 deletions

View file

@ -186,7 +186,7 @@ func _on_BackupConfirmation_confirmed(project_paths : Array, backup_paths : Arra
$ExportDialog.directory_path = OpenSave.current_save_paths[0].get_base_dir()
$ExportDialog.was_exported = false
Global.file_menu.get_popup().set_item_text(3, tr("Save") + " %s" % OpenSave.current_save_paths[0].get_file())
Global.file_menu.get_popup().set_item_text(6, tr("Export"))
Global.file_menu.get_popup().set_item_text(5, tr("Export"))
func _on_BackupConfirmation_delete(project_paths : Array, backup_paths : Array) -> void:

View file

@ -355,7 +355,7 @@ func export_processed_images(ignore_overwrites : bool) -> void:
# Store settings for quick export and when the dialog is opened again
was_exported = true
store_export_settings()
Global.file_menu.get_popup().set_item_text(6, tr("Export") + " %s" % (file_name + file_format_string(file_format)))
Global.file_menu.get_popup().set_item_text(5, tr("Export") + " %s" % (file_name + file_format_string(file_format)))
Global.notification_label("File(s) exported")
hide()