mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-02-26 09:41:29 -05:00
fixed small bug in deletion of banned file
This commit is contained in:
parent
2fab33d37f
commit
b09eb57e94
@ -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…
x
Reference in New Issue
Block a user