Fix market browser meta filtering

This commit is contained in:
blitzmann
2017-11-12 12:00:24 -05:00
parent de646cf252
commit d0235f6d93

View File

@@ -79,10 +79,10 @@ class MarketBrowser(wx.Panel):
def toggleMetaButton(self, event):
"""Process clicks on toggle buttons"""
appendMeta = event.cmdDown
mstate = wx.GetMouseState()
clickedBtn = event.EventObject
if appendMeta:
if mstate.cmdDown:
activeBtns = [btn for btn in self.metaButtons if btn.GetValue()]
if activeBtns:
clickedBtn.setUserSelection(clickedBtn.GetValue())