Remove right-click context menu on empty fits
Simple problem, simple fix?
This commit is contained in:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user