about summary refs log tree commit diff
path: root/src/ui/window.rs
diff options
context:
space:
mode:
authorRicky Kresslein <rk@lakoliu.com>2022-03-31 09:54:25 +0200
committerRicky Kresslein <rk@lakoliu.com>2022-03-31 09:54:25 +0200
commit0cc4db6d1ab74991a6914c079f2ea313fd235528 (patch)
tree4c1fa6f7b2a06ce6502faed04e2a1786b61ca825 /src/ui/window.rs
parent6ab54c18c4a9e702160c3bf1efd2e79fa8c45e80 (diff)
downloadFurtherance-0cc4db6d1ab74991a6914c079f2ea313fd235528.tar.zst
Remove search from Preferences
Diffstat (limited to 'src/ui/window.rs')
-rwxr-xr-xsrc/ui/window.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ui/window.rs b/src/ui/window.rs
index 36c20c1..f49c8b2 100755
--- a/src/ui/window.rs
+++ b/src/ui/window.rs
@@ -135,7 +135,7 @@ impl FurtheranceWindow {
         if *imp.subtract_idle.lock().unwrap() {
             let idle_start = DateTime::parse_from_rfc3339(&imp.idle_start_time.lock().unwrap()).unwrap();
             stop_time = idle_start.with_timezone(&Local);
-            *imp.subtract_idle.lock().unwrap() = false
+            *imp.subtract_idle.lock().unwrap() = false;
         }
 
         let _ = database::db_write(&imp.task_input.text().trim(), start_time, stop_time);