Skip to content

Commit

Permalink
Merge pull request #28 from markotoplak/owpreprocessimage-fixes
Browse files Browse the repository at this point in the history
Ensure correct redraws when changing data sets
  • Loading branch information
markotoplak authored Oct 4, 2024
2 parents f328635 + e1a152a commit cd7a2df
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions orangecontrib/snom/widgets/owpreprocessimage.py
Original file line number Diff line number Diff line change
Expand Up @@ -297,6 +297,9 @@ def create_outputs(self):
)

def set_data(self, data):
self.curveplot.set_data(None)
self.curveplot_after.set_data(None)

super().set_data(data)

self.closeContext()
Expand Down

0 comments on commit cd7a2df

Please sign in to comment.