Rework FitChanged command to avoid refreshing graph multiple times in certain cases
This commit is contained in:
@@ -106,7 +106,7 @@ class AttributeEditor(wx.Frame):
|
||||
def closeWindow(self):
|
||||
fitID = self.mainFrame.getActiveFit()
|
||||
if fitID is not None:
|
||||
wx.PostEvent(self.mainFrame, GE.FitChanged(fitID=fitID))
|
||||
wx.PostEvent(self.mainFrame, GE.FitChanged(fitIDs=(fitID,)))
|
||||
self.Destroy()
|
||||
|
||||
def OnImport(self, event):
|
||||
|
||||
Reference in New Issue
Block a user