summaryrefslogtreecommitdiff
path: root/src/modlist.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/modlist.cpp')
-rw-r--r--src/modlist.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/modlist.cpp b/src/modlist.cpp
index f87687bb..9510fd46 100644
--- a/src/modlist.cpp
+++ b/src/modlist.cpp
@@ -656,8 +656,9 @@ void ModList::removeRow(int row, const QModelIndex&)
void ModList::notifyChange(int rowStart, int rowEnd)
{
if (rowStart < 0) {
- beginResetModel();
- endResetModel();
+ reset();
+// beginResetModel();
+// endResetModel();
} else {
if (rowEnd == -1) rowEnd = rowStart;
emit dataChanged(this->index(rowStart, 0), this->index(rowEnd, this->columnCount() - 1));