Commit e037f994 authored by Thomas Vincent's avatar Thomas Vincent
Browse files

fix issue of reusing same QSpace and connect many time to the same

parent 211d2798
...@@ -214,7 +214,7 @@ class XsocsGui(Qt.QMainWindow): ...@@ -214,7 +214,7 @@ class XsocsGui(Qt.QMainWindow):
view = node.getView(self) view = node.getView(self)
if view not in self.__openedViews: if view not in self.__openedViews:
self.__openedViews.append(view) self.__openedViews.append(view)
view.sigFitDone.connect(self.__slotFitDone) view.sigFitDone.connect(self.__slotFitDone)
view.setAttribute(Qt.Qt.WA_DeleteOnClose, True) view.setAttribute(Qt.Qt.WA_DeleteOnClose, True)
if bringToFront: if bringToFront:
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