Forcefully deselect the replaced item in builtinviewcolumns refresh(). Fixes ticket #58
This commit is contained in:
@@ -128,6 +128,7 @@ class Display(wx.ListCtrl):
|
||||
|
||||
if oldText != newText or oldImageId != newImageId:
|
||||
self.SetItem(colItem)
|
||||
self.SetItemState(item, 0 , wx.LIST_STATE_FOCUSED | wx.LIST_STATE_SELECTED)
|
||||
|
||||
self.SetItemData(item, id)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user