Commit 66dc02cd authored by Julia Garriga Ferrer's avatar Julia Garriga Ferrer
Browse files

[gui][shift] Keep filter after correcting shift

parent 868c1226
Pipeline #52907 passed with stage
in 2 minutes and 10 seconds
......@@ -223,10 +223,7 @@ class ShiftCorrectionWidget(qt.QMainWindow):
if dataset is None:
dataset = self.dataset
nframe = self._sv.getFrameNumber()
if self.indices is None:
self._sv.setStack(dataset.get_data() if dataset is not None else None)
else:
self._sv.setStack(dataset.get_data(self.indices) if dataset is not None else None)
self._sv.setStack(dataset.get_data(self.indices, self._dimension) if dataset is not None else None)
self._sv.setFrameNumber(nframe)
def clearStack(self):
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment