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:
@@ -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":
|
||||
|
||||
Reference in New Issue
Block a user