Quote Originally Posted by ranna View Post
...
it throws a exception while exetuing this->setCurrentIndex(Index).
...
The assert you're referring to is actually in QTableView::moveCursor(). Anyway, could you provide a minimal compilable example that reproduces the problem?