Skip to content

Commit

Permalink
added self.last_clicked_roi = "" because i keep getting this error At…
Browse files Browse the repository at this point in the history
…tributeError: 'SpectrumViewerWindowView' object has no attribute 'last_clicked_roi'
  • Loading branch information
ashmeigh committed Dec 9, 2024
1 parent 83e157a commit 1566555
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions mantidimaging/gui/windows/spectrum_viewer/view.py
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,7 @@ def __init__(self, main_window: MainWindowView):
self.normalise_error_icon_pixmap = QPixmap(icon_path)

self.selected_row: int = 0
self.last_clicked_roi = ""
self.current_roi_name: str = ""
self.roiPropertiesSpinBoxes: dict[str, QSpinBox] = {}
self.roiPropertiesLabels: dict[str, QLabel] = {}
Expand Down

0 comments on commit 1566555

Please sign in to comment.