Commit 165bca52 authored by payno's avatar payno
Browse files

[orangecontrib][larch] add a call to `_updateProcess` on larch widget...

[orangecontrib][larch] add a call to `_updateProcess` on larch widget initialization to insure `_larchSettings` is updated if there is no modification of the parameters
parent d27a1977
......@@ -193,6 +193,9 @@ class AutobkOW(_ProcessForOrangeMixIn, OWWidget):
self._advancement = QProgress("autobk")
self._advancement.sigProgress.connect(self._setProgressValue)
# set up (insure settings will be store
self._updateProcess()
def _updateProcess(self):
"""Update settings keeping current xas obj"""
self._update_settings()
......
......@@ -169,6 +169,9 @@ class MbackOW(_ProcessForOrangeMixIn, OWWidget):
self._advancement = QProgress("mback")
self._advancement.sigProgress.connect(self._setProgressValue)
# set up (insure settings will be store
self._updateProcess()
def _updateProcess(self):
self._update_settings()
if self._latest_xas_obj:
......
......@@ -169,6 +169,9 @@ class Mback_normOW(_ProcessForOrangeMixIn, OWWidget):
self._advancement = QProgress("mback_norm")
self._advancement.sigProgress.connect(self._setProgressValue)
# set up (insure settings will be store
self._updateProcess()
def _updateProcess(self):
self._update_settings()
if self._latest_xas_obj:
......
......@@ -188,6 +188,9 @@ class PreEdgeOW(_ProcessForOrangeMixIn, OWWidget):
self._advancement = QProgress("pre_edge")
self._advancement.sigProgress.connect(self._setProgressValue)
# set up (insure settings will be store
self._updateProcess()
def _updateProcess(self):
self._update_settings()
if self._latest_xas_obj:
......
......@@ -197,6 +197,9 @@ class XFTFOW(_ProcessForOrangeMixIn, OWWidget):
self._advancement = QProgress("xftf")
self._advancement.sigProgress.connect(self._setProgressValue)
# set up (insure settings will be store
self._updateProcess()
def _updateProcess(self):
self._update_settings()
if self._latest_xas_obj:
......
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