diff options
author | Ricky Kresslein <rk@lakoliu.com> | 2022-09-24 00:34:54 +0200 |
---|---|---|
committer | Ricky Kresslein <rk@lakoliu.com> | 2022-09-24 00:34:54 +0200 |
commit | 87c05770789958e6786e6490eb1fa25cd116b361 (patch) | |
tree | 959c6344c99a0f85657759fd21618dff2e9673a1 /src/ui/history_box.rs | |
parent | 54e7ba5b16045d4e653f392d38f045a4f7183732 (diff) | |
download | Furtherance-87c05770789958e6786e6490eb1fa25cd116b361.tar.zst |
Ability to change database location - #29
Diffstat (limited to 'src/ui/history_box.rs')
-rwxr-xr-x | src/ui/history_box.rs | 2 |
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" } }; |