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, 2 insertions, 3 deletions
diff --git a/src/modlist.cpp b/src/modlist.cpp
index 9510fd46..f87687bb 100644
--- a/src/modlist.cpp
+++ b/src/modlist.cpp
@@ -656,9 +656,8 @@ void ModList::removeRow(int row, const QModelIndex&)
void ModList::notifyChange(int rowStart, int rowEnd)
{
if (rowStart < 0) {
- reset();
-// beginResetModel();
-// endResetModel();
+ beginResetModel();
+ endResetModel();
} else {
if (rowEnd == -1) rowEnd = rowStart;
emit dataChanged(this->index(rowStart, 0), this->index(rowEnd, this->columnCount() - 1));