taurus_pyqtgraph/curvesmodel.py
def __commitAndCloseEditor(self, idx):
        """if an editor is open, commit the data and close it before moving

        :param idx: qmodel index
        """
        w = self.ui.curvesTable.indexWidget(idx)
        if w is not None:
            self.ui.curvesTable.commitData(w)
            self.ui.curvesTable.closePersistentEditor(idx)
if an editor is open, commit the data and close it before moving

        :param idx: qmodel index
        
if an editor is open, commit the data and close it before moving
if an editor is open commit the data and close it before moving
def __commitAndCloseEditor(self, idx):
        w = self.ui.curvesTable.indexWidget(idx)
        if w is not None:
            self.ui.curvesTable.commitData(w)
            self.ui.curvesTable.closePersistentEditor(idx)
def __commitAndCloseEditor ( self , idx ) : w = self . ui . curvesTable . indexWidget ( idx ) if w is not None : self . ui . curvesTable . commitData ( w ) self . ui . curvesTable . closePersistentEditor ( idx )
if an editor is open, commit the data and close it before moving
if an editor is open commit the data and close it before moving
"""if an editor is open, commit the data and close it before moving

        :param idx: qmodel index
        """
self
idx
None