Commit 7d47b254 authored by Julia Garriga Ferrer's avatar Julia Garriga Ferrer
Browse files

[orangecontrib][shift] Add locale

parent ba74166e
Pipeline #50835 failed with stage
in 1 minute and 31 seconds
......@@ -31,6 +31,7 @@ __date__ = "11/12/2020"
from Orange.widgets.settings import Setting
from Orange.widgets.widget import OWWidget, Input, Output
from silx.gui import qt
from silx.gui.colors import Colormap
from darfix.gui.shiftCorrectionWidget import ShiftCorrectionDialog
......@@ -59,6 +60,7 @@ class ShiftCorrectionWidgetOW(OWWidget):
def __init__(self):
super().__init__()
qt.QLocale.setDefault(qt.QLocale("en_US"))
self._widget = ShiftCorrectionDialog(parent=self)
self._widget.okSignal.connect(self._sendSignal)
......
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