Skip to content

Commit

Permalink
Fix indentation
Browse files Browse the repository at this point in the history
  • Loading branch information
sstendahl committed Jan 12, 2024
1 parent 9c1115a commit baf810c
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/operations.py
Original file line number Diff line number Diff line change
Expand Up @@ -135,10 +135,10 @@ def perform_operation(self, callback, *args):
item.xdata, item.ydata = sort_data(item.xdata, item.ydata)
item.notify("xdata")
item.notify("ydata")
canvas = self.get_window().get_canvas()
canvas.highlight.extents = (0, 0)
canvas.set_property("min_selected", 0)
canvas.set_property("max_selected", 0)
canvas = self.get_window().get_canvas()
canvas.highlight.extents = (0, 0)
canvas.set_property("min_selected", 0)
canvas.set_property("max_selected", 0)
if not data_selected:
self.get_window().add_toast_string(
_("No data found within the highlighted area"))
Expand Down

0 comments on commit baf810c

Please sign in to comment.