diff --git a/retroshare-gui/src/gui/RemoteDirModel.cpp b/retroshare-gui/src/gui/RemoteDirModel.cpp index cf3b67464..bcd3a4729 100644 --- a/retroshare-gui/src/gui/RemoteDirModel.cpp +++ b/retroshare-gui/src/gui/RemoteDirModel.cpp @@ -740,6 +740,7 @@ Qt::ItemFlags RemoteDirModel::flags( const QModelIndex & index ) const #endif //modelAboutToBeReset(); // reset(); + beginResetModel(); layoutAboutToBeChanged(); } @@ -752,6 +753,7 @@ Qt::ItemFlags RemoteDirModel::flags( const QModelIndex & index ) const //modelReset(); layoutChanged(); //reset(); + endResetModel(); }