Skip to content

Commit

Permalink
remove now redundant code
Browse files Browse the repository at this point in the history
  • Loading branch information
MialLewis committed Oct 10, 2023
1 parent 266b9d7 commit 6dd21e2
Showing 1 changed file with 1 addition and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -152,17 +152,14 @@ def fitting_done_slot(self, name):
This is called after Fit finishes to update the fit curves.
:param name: The name of Fit's output workspace.
"""
if not name:
self.fit_notifier.notify_subscribers([])
return
super(EngDiffFitPropertyBrowser, self).fitting_done_slot(name)
self.save_current_setup(self.workspaceName())
self.fit_notifier.notify_subscribers([self.get_fitprop()])

@Slot()
def fitting_failed_slot(self):
"""
This is called after Fit fails due to an acception thrown.
This is called after Fit fails due to an exception thrown.
"""
self.fit_notifier.notify_subscribers([])

Expand Down

0 comments on commit 6dd21e2

Please sign in to comment.