Fix a double handle of the delete event

On GTK, the handler will get called twice if you call skip(),
and a ValueError exception is thrown on cmdline
We're handling the event so skip not necessary.
This commit is contained in:
Will Wykeham
2015-10-13 15:56:58 +01:00
parent 5246432420
commit 8a9107c798

View File

@@ -96,8 +96,6 @@ class ProjectedView(d.Display):
sFit.removeProjected(fitID, self.get(row))
wx.PostEvent(self.mainFrame, GE.FitChanged(fitID=fitID))
event.Skip()
def handleDrag(self, type, fitID):
#Those are drags coming from pyfa sources, NOT builtin wx drags
if type == "fit":