summaryrefslogtreecommitdiffstats
path: root/application/FtbListModel.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'application/FtbListModel.cpp')
-rw-r--r--application/FtbListModel.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/application/FtbListModel.cpp b/application/FtbListModel.cpp
index 68a68794..d79bcac0 100644
--- a/application/FtbListModel.cpp
+++ b/application/FtbListModel.cpp
@@ -108,7 +108,9 @@ QVariant FtbListModel::data(const QModelIndex &index, int role) const
void FtbListModel::fill(FtbModpackList modpacks)
{
+ beginResetModel();
this->modpacks = modpacks;
+ endResetModel();
}
FtbModpack FtbListModel::at(int row)