[baobab/reroot-view: 18/35] Reset active_location on cancel



commit 0705de68275fd7551edb9683a9ce3c41f8f6df11
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]