[baobab/reroot-view: 20/31] Reset active_location on cancel



commit 4d5860824ab639cf4c8292eaaf76e3b9cda30c00
Author: Stefano Facchini <stefano facchini gmail com>
Date:   Thu Jun 18 16:38:18 2020 +0200

    Reset active_location on cancel

 src/baobab-window.vala | 2 ++
 1 file changed, 2 insertions(+)
---
diff --git a/src/baobab-window.vala b/src/baobab-window.vala
index 4bae7e2..e968d9d 100644
--- a/src/baobab-window.vala
+++ b/src/baobab-window.vala
@@ -319,6 +319,8 @@ namespace Baobab {
                 active_location.scanner.disconnect (scan_completed_handler);
                 scan_completed_handler = 0;
             }
+
+            active_location = null;
         }
 
         void on_clear_recent () {


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]