From 8a9107c798ab7284d8eab686fd295a139bed3193 Mon Sep 17 00:00:00 2001 From: Will Wykeham Date: Tue, 13 Oct 2015 15:56:58 +0100 Subject: [PATCH] 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. --- gui/projectedView.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/gui/projectedView.py b/gui/projectedView.py index 3b0d8f3af..c36d34de1 100644 --- a/gui/projectedView.py +++ b/gui/projectedView.py @@ -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":