Bugfix: fixed DNU when redraw was forced in hierarchical change list.
The problem was that hierarchical change list does not use dataset view but
hierarchical list, so the API is different...
--- a/Tools__ChangeList.st Sun Aug 09 07:27:41 2015 +0100
+++ b/Tools__ChangeList.st Fri Aug 21 23:40:30 2015 +0100
@@ -1240,12 +1240,11 @@
listView notNil ifTrue:[
index := listView list identityIndexOf: item.
- index ~~ 0 ifTrue:[
- listView columnView invalidateRowAt: index.
- ].
+ self redrawListItemAt: index.
]
"Created: / 25-04-2015 / 22:12:16 / Jan Vrany <jan.vrany@fit.cvut.cz>"
+ "Modified: / 20-08-2015 / 16:19:54 / Jan Vrany <jan.vrany@fit.cvut.cz>"
!
redrawListItemAt: index
--- a/Tools__HierarchicalChangeList.st Sun Aug 09 07:27:41 2015 +0100
+++ b/Tools__HierarchicalChangeList.st Fri Aug 21 23:40:30 2015 +0100
@@ -202,6 +202,16 @@
"Created: / 26-07-2012 / 18:43:06 / Jan Vrany <jan.vrany@fit.cvut.cz>"
!
+redrawListItemAt: index
+ listView notNil ifTrue:[
+ index ~~ 0 ifTrue:[
+ listView invalidateLineAt:index.
+ ].
+ ]
+
+ "Created: / 20-08-2015 / 16:19:23 / Jan Vrany <jan.vrany@fit.cvut.cz>"
+!
+
updateList
|inGenerator changeset root|
@@ -221,6 +231,11 @@
^ '$Header: /cvs/stx/stx/libtool/Tools__HierarchicalChangeList.st,v 1.9 2014-04-10 09:59:55 vrany Exp $'
!
+version_HG
+
+ ^ '$Changeset: <not expanded> $'
+!
+
version_SVN
^ '$Id: Tools__HierarchicalChangeList.st,v 1.9 2014-04-10 09:59:55 vrany Exp $'
! !