MSW can be a bitch when dealing with left clicks (sometimes a dbl click is generated, fixed module state switching, now its faster as it can gets

This commit is contained in:
HomeWorld
2010-12-11 02:04:09 +02:00
parent 2cac5adf8d
commit e2a8874688

View File

@@ -265,8 +265,9 @@ class FittingView(d.Display):
if populate is not None:
if populate: self.slotsChanged()
wx.PostEvent(self.mainFrame, GE.FitChanged(fitID=self.activeFitID))
event.Skip()
else:
if "wxMSW" in wx.PlatformInfo:
self.click(event)
def swapItems(self, x, y, itemID):
srcRow = self.FindItemData(-1,itemID)