From 87c05770789958e6786e6490eb1fa25cd116b361 Mon Sep 17 00:00:00 2001 From: Ricky Kresslein Date: Sat, 24 Sep 2022 00:34:54 +0200 Subject: Ability to change database location - #29 --- src/ui/history_box.rs | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/ui/history_box.rs') 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" } }; -- cgit 1.4.1