Hi,

I'm trying to remove a row from a QTableWidget using removeRow(...) and the application crashes. When I remove a row other than row 0, it usually doesn't crash, however removing row 0 always crashes.

The application crashes with:
ASSERT failure in QList<T>:perator[]: "index out of range", file c:/Qt/2009.03/qt/include/QtCore/../../src/corelib/tools/qlist.h, line 403

I saw a similar situation on this forum, with no real solution.

Any replies are appreciated. Thank you.