fixed setting/getting maxrates using pgp id

This commit is contained in:
csoler 2016-06-09 20:51:09 -04:00
parent a07805be1d
commit a4931edee0
7 changed files with 29 additions and 38 deletions

View file

@ -397,7 +397,7 @@ void ConfCertDialog::applyDialog()
uint32_t max_upload_speed = ui.maxUploadSpeed_SB->value() ;
uint32_t max_download_speed = ui.maxDownloadSpeed_SB->value();
rsPeers->setPeerMaximumRates(peerId,max_upload_speed,max_download_speed);
rsPeers->setPeerMaximumRates(pgpId,max_upload_speed,max_download_speed);
loadAll();
close();