mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-05-05 23:55:35 -04:00
fixed small bug in deletion of banned file
This commit is contained in:
parent
2fab33d37f
commit
b09eb57e94
1 changed files with 3 additions and 0 deletions
|
@ -445,6 +445,9 @@ void SearchDialog::ban()
|
|||
|
||||
rsFiles -> banFile( hash, (item->text(SR_NAME_COL)).toUtf8().constData() , (item->text(SR_SIZE_COL)).toULongLong());
|
||||
|
||||
while(item->parent() != NULL)
|
||||
item = item->parent();
|
||||
|
||||
ui.searchResultWidget->takeTopLevelItem(ui.searchResultWidget->indexOfTopLevelItem(item)) ;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue