Skip to content
Snippets Groups Projects
Commit 27bdd0cf authored by payno's avatar payno
Browse files

gui - stitching: overwrite any axis refinement operations.

This methods allow us to make sure the value to be used for the stitching will be the one used in the preview.

close #1405
parent 3e956289
No related branches found
No related tags found
No related merge requests found
......@@ -438,6 +438,11 @@ class _SingleAxisStitchingWindow(
# update to force overwrite
config["output"]["overwrite_results"] = True
# avoid any recalculation of the axis position. So the preview is accurate
config["output"]["axis_0_params"] = ""
config["output"]["axis_1_params"] = ""
config["output"]["axis_2_params"] = ""
# clean current preview to notify some calculation is going on
preview_plot = self._widget._mainWidget._previewPlot
preview_plot._waitingOverlay.show()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment