forked from mirror/openmw-tes3mp
Fix crash loading some addon files. Should resolve Bug #2583.
- This may be a bug within QSortFilterProxyModel - It isn't 100% clear what aspects of these addon files cause the issue, but something about them causes Qt to lose track of its internal row numbers.
This commit is contained in:
parent
5fd107a95c
commit
b7044ac119
1 changed files with 1 additions and 1 deletions
|
@ -46,7 +46,7 @@ void CSMWorld::IdTableProxyModel::setFilter (const boost::shared_ptr<CSMFilter::
|
|||
{
|
||||
mFilter = filter;
|
||||
updateColumnMap();
|
||||
invalidateFilter();
|
||||
reset();
|
||||
}
|
||||
|
||||
bool CSMWorld::IdTableProxyModel::lessThan(const QModelIndex &left, const QModelIndex &right) const
|
||||
|
|
Loading…
Reference in a new issue