diff options
Diffstat (limited to 'logic/menu.gd')
| -rw-r--r-- | logic/menu.gd | 8 |
1 files changed, 4 insertions, 4 deletions
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() |
