mirror of
https://github.com/RetroShare/RetroShare.git
synced 2024-12-27 00:19:25 -05:00
attempt to fix bug in forum search
This commit is contained in:
parent
25467dda9f
commit
d31f5d1159
@ -53,9 +53,13 @@ RsGxsForumModel::RsGxsForumModel(QObject *parent)
|
||||
void RsGxsForumModel::preMods()
|
||||
{
|
||||
emit layoutAboutToBeChanged();
|
||||
|
||||
beginResetModel();
|
||||
}
|
||||
void RsGxsForumModel::postMods()
|
||||
{
|
||||
endResetModel();
|
||||
|
||||
if(mTreeMode == TREE_MODE_FLAT)
|
||||
emit dataChanged(createIndex(0,0,(void*)NULL), createIndex(mPosts.size(),COLUMN_THREAD_NB_COLUMNS-1,(void*)NULL));
|
||||
else
|
||||
|
Loading…
Reference in New Issue
Block a user