Fix eventwatcher checkAll(check=False)

[None] button => uncheck all items
This commit is contained in:
komoto
2022-04-26 23:05:12 +09:00
parent af8cca5189
commit 8f33412a00

View File

@@ -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()