Changes in src/sas/qtgui/Perspectives/Fitting/ConstraintWidget.py [2e5081b:33c0561] in sasview
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/sas/qtgui/Perspectives/Fitting/ConstraintWidget.py
r2e5081b r33c0561 112 112 self.parent = parent 113 113 self.setupUi(self) 114 114 115 self.currentType = "FitPage" 115 116 # Page id for fitting … … 214 215 tab_object = ObjectLibrary.getObject(tab) 215 216 216 # Disconnect all local slots 217 #tab_object.disconnect() 217 # Disconnect all local slots, if connected 218 if tab_object.receivers(tab_object.newModelSignal) > 0: 219 tab_object.newModelSignal.disconnect() 220 if tab_object.receivers(tab_object.constraintAddedSignal) > 0: 221 tab_object.constraintAddedSignal.disconnect() 218 222 219 223 # Reconnect tab signals to local slots
Note: See TracChangeset
for help on using the changeset viewer.