Merge pull request #122 from PhenomRetroShare/Fix_PrioritySpeedMenuForDownloadFiles

Fix priority Speed Menu for download file.
This commit is contained in:
defnax 2015-11-08 01:07:59 +01:00
commit c6ad0d4b5c

View File

@ -717,9 +717,9 @@ void TransfersDialog::downloadListCustomPopupMenu( QPoint /*point*/ )
}// for (int i = 0; i < lst.count(); ++i)
}// if (!items.empty())
if (atLeastOne_Downloading) {
if (atLeastOne_Waiting || atLeastOne_Downloading || atLeastOne_Queued || atLeastOne_Paused) {
contextMnu.addMenu( &prioritySpeedMenu) ;
}//if (atLeastOne_Downloading)
}
if (atLeastOne_Queued) {
contextMnu.addMenu( &priorityQueueMenu) ;
}//if (atLeastOne_Queued)