about summary refs log tree commit diff
path: root/src/ui/history_box.rs
diff options
context:
space:
mode:
authorRicky Kresslein <rk@lakoliu.com>2022-09-24 00:34:54 +0200
committerRicky Kresslein <rk@lakoliu.com>2022-09-24 00:34:54 +0200
commit87c05770789958e6786e6490eb1fa25cd116b361 (patch)
tree959c6344c99a0f85657759fd21618dff2e9673a1 /src/ui/history_box.rs
parent54e7ba5b16045d4e653f392d38f045a4f7183732 (diff)
downloadFurtherance-87c05770789958e6786e6490eb1fa25cd116b361.tar.zst
Ability to change database location - #29
Diffstat (limited to 'src/ui/history_box.rs')
-rwxr-xr-xsrc/ui/history_box.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/ui/history_box.rs b/src/ui/history_box.rs
index 510db07..b36808e 100755
--- a/src/ui/history_box.rs
+++ b/src/ui/history_box.rs
@@ -94,6 +94,7 @@ impl FurHistoryBox {
         let app = FurtheranceApplication::default();
         app.delete_enabled(false);
         app.export_csv_enabled(false);
+        app.backup_database_enabled(false);
         imp.spinner.set_spinning(false);
 
         let name = match view {
@@ -105,6 +106,7 @@ impl FurHistoryBox {
             View::Tasks => {
                 app.delete_enabled(true);
                 app.export_csv_enabled(true);
+                app.backup_database_enabled(true);
                 "tasks"
             }
         };