summaryrefslogtreecommitdiffstats
path: root/qt-ui/models.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'qt-ui/models.cpp')
-rw-r--r--qt-ui/models.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/qt-ui/models.cpp b/qt-ui/models.cpp
index 82aa3126d..63b97ad19 100644
--- a/qt-ui/models.cpp
+++ b/qt-ui/models.cpp
@@ -1577,7 +1577,8 @@ void TablePrintModel::insertRow(int index)
void TablePrintModel::callReset()
{
- reset();
+ beginResetModel();
+ endResetModel();
}
QVariant TablePrintModel::data(const QModelIndex &index, int role) const