Remove right-click context menu on empty fits

Simple problem, simple fix?
This commit is contained in:
Corollax
2010-10-30 13:51:32 -05:00
parent 1d85fd1b74
commit 40365a8880

View File

@@ -209,6 +209,8 @@ class FittingView(d.Display):
wx.CallAfter(self.spawnMenu)
def spawnMenu(self):
if self.activeFitID is None:
return
cFit = service.Fit.getInstance()
selection = []
sel = self.GetFirstSelected()