mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-02-25 01:10:19 -05:00
Merge pull request #1858 from csoler/v0.6-ImprovedGUI_4
attempt to fix bug in forum search
This commit is contained in:
commit
b03ddda6c3
@ -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…
x
Reference in New Issue
Block a user