Hi,

i have a QAbstractTableModel in which i insert data (rows) with a button that opens a dialog and calls the insertRow method after the dialog is closed:

def insertRow (self, row, filesystem, parent = QModelIndex() ):
self.beginInsertRows(QModelIndex(), len(self.fList), len(self.fList))
        self.fList.append(filesystem)
        self.endInsertRows()

now the new data is added to the tableview and the view is sorted. But what bugs me is that the new row isn't selected (marked) - how can i do this ?


Greetings

AmFreak
_______________________________________________
PyQt mailing list    PyQt@riverbankcomputing.com
http://www.riverbankcomputing.com/mailman/listinfo/pyqt

Reply via email to