From ee31a9a3d387121030a5f4503adeac5816d7726f Mon Sep 17 00:00:00 2001 From: dam Date: Sun, 17 Apr 2022 10:04:21 +0000 Subject: Renamed app log export action. --- logic/menu.gd | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'logic') diff --git a/logic/menu.gd b/logic/menu.gd index 42b88d5..4b0b7b3 100644 --- a/logic/menu.gd +++ b/logic/menu.gd @@ -8,7 +8,7 @@ const menu_items: Array = [ { label = "Import Database", action = "import_database_action" }, { label = "Export Database", action = "export_database_action" }, { label = "Clear Database", action = "clear_database_action" }, - { label = "Export Log", action = "export_log_action" }, + { label = "Export App Log", action = "export_app_log_action" }, { label = "About", action = "about_action" }, ] const license_font_b612: String = "res://licenses/font_b612.txt" @@ -116,17 +116,17 @@ func clear_database(): database.save_database() -func export_log_action(): +func export_app_log_action(): file_picker.mode = FileDialog.MODE_SAVE_FILE file_picker.current_dir = OS.get_system_dir(OS.SYSTEM_DIR_DOWNLOADS) file_picker.filters = ["*.log"] file_picker.current_file = "" - file_picker.connect("file_selected", self, "export_log") + file_picker.connect("file_selected", self, "export_app_log") file_picker.show_modal(true) file_picker.invalidate() -func export_log(file_path: String): +func export_app_log(file_path: String): var error : int var file := File.new() -- cgit v1.2.3