diff options
author | Ricky Kresslein <rk@lakoliu.com> | 2022-06-11 08:02:04 +0300 |
---|---|---|
committer | Ricky Kresslein <rk@lakoliu.com> | 2022-06-11 08:02:04 +0300 |
commit | 9f9ac2b47c86630d4864f9748ca0c3a1b18caff1 (patch) | |
tree | 0373abb6e3374c668ded03422a1aee04858d8989 /src/ui | |
parent | 2e25f23cd9d5ba2a90021c4daffbf9395fec8fb7 (diff) | |
download | Furtherance-9f9ac2b47c86630d4864f9748ca0c3a1b18caff1.tar.zst |
Export CSV disabled if no tasks
Diffstat (limited to 'src/ui')
-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 445d796..87631b0 100755 --- a/src/ui/history_box.rs +++ b/src/ui/history_box.rs @@ -93,6 +93,7 @@ impl FurHistoryBox { let imp = imp::FurHistoryBox::from_instance(self); let app = FurtheranceApplication::default(); app.delete_enabled(false); + app.export_csv_enabled(false); imp.spinner.set_spinning(false); let name = match view { @@ -103,6 +104,7 @@ impl FurHistoryBox { View::Empty => "empty", View::Tasks => { app.delete_enabled(true); + app.export_csv_enabled(true); "tasks" } }; |