You can start deleting from the last row. In that case the indexes will stay valid.
Or you can probably just delete the items returned by QTableWidget::selectedItems() using qDeleteAll().
You can start deleting from the last row. In that case the indexes will stay valid.
Or you can probably just delete the items returned by QTableWidget::selectedItems() using qDeleteAll().
ricardo (13th May 2009)
Bookmarks