- Allow the user to display torrent properties in finished list

This commit is contained in:
Christophe Dumez 2007-04-04 12:52:50 +00:00
parent 5c53c457e5
commit cd70dcc3ba
4 changed files with 35 additions and 3 deletions

View file

@ -1215,6 +1215,11 @@ void GUI::addUnauthenticatedTracker(QPair<torrent_handle,std::string> tracker){
// display properties of selected items
void GUI::propertiesSelection(){
if(tabs->currentIndex() > 1) return;
if(tabs->currentIndex() == 1){
finishedTorrentTab->propertiesSelection();
return;
}
QModelIndexList selectedIndexes = downloadList->selectionModel()->selectedIndexes();
QModelIndex index;
foreach(index, selectedIndexes){