summaryrefslogtreecommitdiff
path: root/src/items/database/columnlistmodel.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/items/database/columnlistmodel.cpp')
-rw-r--r--src/items/database/columnlistmodel.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/items/database/columnlistmodel.cpp b/src/items/database/columnlistmodel.cpp
index 84ba804..8ae00b5 100644
--- a/src/items/database/columnlistmodel.cpp
+++ b/src/items/database/columnlistmodel.cpp
@@ -44,7 +44,8 @@ ColumnListModel::setColumnList(ColumnList *columnList)
connect(m_columnList, SIGNAL(columnRemoved(int)), this, SLOT(_columnRemoved()));
connect(m_columnList, SIGNAL(columnChanged(int)), this, SLOT(_columnChanged(int)));
}
- reset();
+ beginResetModel();
+ endResetModel();
}
int