def commitData(self, widget):
        """
        Commits the data from the widget to the model.
        
        :param      widget | <QWidget>
        """
        self._editColumn = self.currentColumn()
        self.itemChanged.connect(self._commitToSelected)
        super(XOrbTreeWidget, self).commitData(widget)
        self.itemChanged.disconnect(self._commitToSelected)
        self._editColumn = None
def commitData ( self , widget ) : self . _editColumn = self . currentColumn ( ) self . itemChanged . connect ( self . _commitToSelected ) super ( XOrbTreeWidget , self ) . commitData ( widget ) self . itemChanged . disconnect ( self . _commitToSelected ) self . _editColumn = None
Commits the data from the widget to the model.
        
        :param      widget | <QWidget>