Commit 9141451d authored by Julia Garriga Ferrer's avatar Julia Garriga Ferrer Committed by Julia Garriga Ferrer
Browse files

[orangecontrib][shift] Use ShiftCorrectionDialog instead of ShiftCorrectionWidget

parent e3c897b5
Pipeline #49939 failed with stage
in 2 minutes and 51 seconds
......@@ -41,6 +41,7 @@ from darfix.core.dataset import Operation
from .operationThread import OperationThread
from .utils import ChooseDimensionDock
class ShiftCorrectionDialog(qt.QDialog):
Dialog with `ShiftCorrectionWidget` as main window and standard buttons.
......@@ -166,6 +167,7 @@ class ShiftCorrectionWidget(qt.QMainWindow):
def resetStack(self):
self._update_dataset = self.dataset
def updateProgress(self, progress):
......@@ -32,7 +32,7 @@ __date__ = "11/12/2020"
from Orange.widgets.settings import Setting
from Orange.widgets.widget import OWWidget, Input, Output
from silx.gui.colors import Colormap
from darfix.gui.shiftCorrectionWidget import ShiftCorrectionWidget
from darfix.gui.shiftCorrectionWidget import ShiftCorrectionDialog
class ShiftCorrectionWidgetOW(OWWidget):
......@@ -60,8 +60,8 @@ class ShiftCorrectionWidgetOW(OWWidget):
def __init__(self):
self._widget = ShiftCorrectionWidget(parent=self)
self._widget = ShiftCorrectionDialog(parent=self)
if self.shift:
Supports Markdown
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