mirror of
https://github.com/wxWidgets/Phoenix.git
synced 2025-07-21 12:41:10 +02:00
Fix eventwatcher checkAll(check=False)
[None] button => uncheck all items
This commit is contained in:
@@ -249,7 +249,7 @@ class EventChooser(wx.Panel):
|
||||
def checkAll(self, check):
|
||||
self.doUpdate = False
|
||||
for position in range(self.lb.GetCount()):
|
||||
self.lb.Check(position, True)
|
||||
self.lb.Check(position, check)
|
||||
index = self.lb.GetClientData(position)
|
||||
self.watchList[index] = (self.watchList[index][0], check)
|
||||
self.lb.Refresh()
|
||||
|
Reference in New Issue
Block a user