Skip to content

Commit

Permalink
turn live mode off when loading calibration
Browse files Browse the repository at this point in the history
  • Loading branch information
talonchandler committed Apr 10, 2023
1 parent add3280 commit fbbd7c8
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions recOrder/plugin/main_widget.py
Original file line number Diff line number Diff line change
Expand Up @@ -1845,6 +1845,10 @@ def load_calibration(self):
def update_extinction(extinction):
self.calib.extinction_ratio = float(extinction)

# Make sure Live Mode is off
if self.calib.snap_manager.getIsLiveModeOn():
self.calib.snap_manager.setLiveModeOn(False)

# initialize worker properties for multi-threading
self.ui.qbutton_stop_calib.clicked.connect(self.worker.quit)
self.worker.yielded.connect(self.ui.le_extinction.setText)
Expand Down

0 comments on commit fbbd7c8

Please sign in to comment.