Commit 6bd4591b authored by Damien Naudet's avatar Damien Naudet

Reconnected some signals that got wrongly deleted.

parent dce30a04
...@@ -177,6 +177,7 @@ class XsocsGui(Qt.QMainWindow): ...@@ -177,6 +177,7 @@ class XsocsGui(Qt.QMainWindow):
view = node.getView(self) view = node.getView(self)
view.show() view.show()
view.setAttribute(Qt.Qt.WA_DeleteOnClose, True) view.setAttribute(Qt.Qt.WA_DeleteOnClose, True)
view.sigProcessApplied.connect(self.__intensityRoiApplied)
view.raise_() view.raise_()
# screen = Qt.QApplication.desktop() # screen = Qt.QApplication.desktop()
# size = screen.availableGeometry(view).size() # size = screen.availableGeometry(view).size()
...@@ -214,6 +215,7 @@ class XsocsGui(Qt.QMainWindow): ...@@ -214,6 +215,7 @@ class XsocsGui(Qt.QMainWindow):
if not isinstance(node, QSpaceItemNode): if not isinstance(node, QSpaceItemNode):
return return
view = node.getView(self) view = node.getView(self)
view.sigFitDone.connect(self.__slotFitDone)
view.show() view.show()
view.setAttribute(Qt.Qt.WA_DeleteOnClose, True) view.setAttribute(Qt.Qt.WA_DeleteOnClose, True)
if bringToFront: if bringToFront:
......
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