mirror of
https://github.com/Orama-Interactive/Pixelorama.git
synced 2025-01-31 07:29:49 +00:00
Fix wrong "Export" text changing on the File menu
This commit is contained in:
parent
8230d9de96
commit
9fbfbc7432
|
@ -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.directory_path = OpenSave.current_save_paths[0].get_base_dir()
|
||||||
$ExportDialog.was_exported = false
|
$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(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:
|
func _on_BackupConfirmation_delete(project_paths : Array, backup_paths : Array) -> void:
|
||||||
|
|
|
@ -355,7 +355,7 @@ func export_processed_images(ignore_overwrites : bool) -> void:
|
||||||
# Store settings for quick export and when the dialog is opened again
|
# Store settings for quick export and when the dialog is opened again
|
||||||
was_exported = true
|
was_exported = true
|
||||||
store_export_settings()
|
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")
|
Global.notification_label("File(s) exported")
|
||||||
hide()
|
hide()
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue