diff --git a/retroshare-gui/src/gui/RemoteDirModel.cpp b/retroshare-gui/src/gui/RemoteDirModel.cpp index 5ee6dc1e5..15ac3168e 100644 --- a/retroshare-gui/src/gui/RemoteDirModel.cpp +++ b/retroshare-gui/src/gui/RemoteDirModel.cpp @@ -87,7 +87,11 @@ void RetroshareDirModel::treeStyle() QIcon::Normal, QIcon::On); peerIcon = QIcon(":/images/user/identity16.png"); } - +void TreeStyle_RDM::update() +{ + preMods() ; + postMods() ; +} void TreeStyle_RDM::updateRef(const QModelIndex& indx) const { rsFiles->requestDirUpdate(indx.internalPointer()) ; diff --git a/retroshare-gui/src/gui/RemoteDirModel.h b/retroshare-gui/src/gui/RemoteDirModel.h index 5fd61b820..73642dda4 100644 --- a/retroshare-gui/src/gui/RemoteDirModel.h +++ b/retroshare-gui/src/gui/RemoteDirModel.h @@ -177,6 +177,7 @@ class TreeStyle_RDM: public RetroshareDirModel protected: virtual void updateRef(const QModelIndex&) const ; + virtual void update() ; /* These are all overloaded Virtual Functions */ virtual int rowCount(const QModelIndex &parent = QModelIndex()) const;