[baobab] Chart: reset highlighted item when changing root
- From: Stefano Facchini <sfacchini src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [baobab] Chart: reset highlighted item when changing root
- Date: Sun, 16 Jun 2013 16:13:09 +0000 (UTC)
commit 30c1e494bc56100fa3d8acefb46de8b145f2ac50
Author: Stefano Facchini <stefano facchini gmail com>
Date: Sun Jun 16 18:03:50 2013 +0200
Chart: reset highlighted item when changing root
src/baobab-chart.vala | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/src/baobab-chart.vala b/src/baobab-chart.vala
index ed55269..f2a75e6 100644
--- a/src/baobab-chart.vala
+++ b/src/baobab-chart.vala
@@ -144,6 +144,8 @@ namespace Baobab {
}
root_ = (value != null) ? new Gtk.TreeRowReference (model, value) : null;
+ highlighted_item = null;
+
queue_draw ();
}
owned get {
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]