[baobab/reroot-view: 20/31] Reset active_location on cancel
- From: Stefano Facchini <sfacchini src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [baobab/reroot-view: 20/31] Reset active_location on cancel
- Date: Sun, 21 Jun 2020 16:54:17 +0000 (UTC)
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]