[meld] vcview: Add missing state refresh (bgo#786629)
- From: Kai Willadsen <kaiw src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [meld] vcview: Add missing state refresh (bgo#786629)
- Date: Fri, 1 Sep 2017 20:19:42 +0000 (UTC)
commit d34e8ee0d008bc3451a9abb6831d9c8771197682
Author: Kai Willadsen <kai willadsen gmail com>
Date: Sat Sep 2 06:16:43 2017 +1000
vcview: Add missing state refresh (bgo#786629)
In non-flattened view we incorrectly missed a state refresh when a tree
row was updated; this fixes that.
Annoyingly, it's also an extremely aggressive refresh in terms of
invalidating the whole subtree, but there's sadly little that can be
done about that without a significant change to how we traverse and
update the tree model.
meld/vcview.py | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/meld/vcview.py b/meld/vcview.py
index 388595a..ba69689 100644
--- a/meld/vcview.py
+++ b/meld/vcview.py
@@ -692,6 +692,7 @@ class VcView(melddoc.MeldDoc, gnomeglade.Component):
self.model.remove(it)
self.treeview.grab_focus()
self.treeview.get_selection().select_iter(newiter)
+ self.vc.refresh_vc_state(where)
self.scheduler.add_task(self._search_recursively_iter(newiter))
self.scheduler.add_task(self.on_treeview_selection_changed)
self.scheduler.add_task(self.on_treeview_cursor_changed)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]