From 87cdb7239e66aa26af52c0dfd76092eeb2e8ec8c Mon Sep 17 00:00:00 2001 From: Daniel Jones Date: Fri, 3 Nov 2023 11:21:56 -0500 Subject: [PATCH] Figured out how to call a function upon pressing a button without throwing an error. Solution: Open the file every time the button is pressed and go to specified page. File outlasts s function, so error called every time function is called. --- .idea/workspace.xml | 42 ++++++++++++++++++++--------------------- src/main.rs | 46 ++++++++------------------------------------- 2 files changed, 29 insertions(+), 59 deletions(-) diff --git a/.idea/workspace.xml b/.idea/workspace.xml index d01780a..b116a31 100644 --- a/.idea/workspace.xml +++ b/.idea/workspace.xml @@ -49,28 +49,28 @@