mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-08-02 11:16:34 -04:00
fixed missing update after filtering
This commit is contained in:
parent
1e6e9dfd12
commit
849ed79cf2
2 changed files with 3 additions and 2 deletions
|
@ -1525,7 +1525,6 @@ void SharedFilesDialog::FilterItems()
|
|||
|
||||
std::cerr << "New last text. Performing the filter on string \"" << text.toStdString() << "\"" << std::endl;
|
||||
mLastFilterText = text ;
|
||||
model->update() ;
|
||||
|
||||
QCursorContextBlocker q(ui.dirTreeView) ;
|
||||
|
||||
|
@ -1537,6 +1536,7 @@ void SharedFilesDialog::FilterItems()
|
|||
if(text == "")
|
||||
{
|
||||
model->filterItems(std::list<std::string>(),found) ;
|
||||
model->update() ;
|
||||
return ;
|
||||
}
|
||||
|
||||
|
@ -1551,6 +1551,7 @@ void SharedFilesDialog::FilterItems()
|
|||
keywords.push_back((*it).toStdString());
|
||||
|
||||
model->filterItems(keywords,found) ;
|
||||
model->update() ;
|
||||
|
||||
if(found > 0)
|
||||
expandAll();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue