taurus_pyqtgraph/curvesmodel.py
def _onMoveDownAction(self):
        """ Move down action swap the selected row with the next one"""
        i1 = self.ui.curvesTable.currentIndex()
        i2 = self.ui.curvesTable.model().index(i1.row() + 1, 0)
        self.__commitAndCloseEditor(i1)
        self.model.swapItems(i1, i2)
        self.ui.curvesTable.setCurrentIndex(i2)
 Move down action swap the selected row with the next one
Move down action swap the selected row with the next one
Move down action swap the selected row with the next one
def _onMoveDownAction(self):
        i1 = self.ui.curvesTable.currentIndex()
        i2 = self.ui.curvesTable.model().index(i1.row() + 1, 0)
        self.__commitAndCloseEditor(i1)
        self.model.swapItems(i1, i2)
        self.ui.curvesTable.setCurrentIndex(i2)
def _onMoveDownAction ( self ) : i1 = self . ui . curvesTable . currentIndex ( ) i2 = self . ui . curvesTable . model ( ) . index ( i1 . row ( ) + 1 , 0 ) self . __commitAndCloseEditor ( i1 ) self . model . swapItems ( i1 , i2 ) self . ui . curvesTable . setCurrentIndex ( i2 )
Move down action swap the selected row with the next one
Move down action swap the selected row with the next one
""" Move down action swap the selected row with the next one"""
self