internal void downloadRate_TextChanged(object sender, EventArgs e)
{
if (downloadRate.Text == "")
{
currentTorrent.downloadRate = 0;
}
else
{
TorrentInfo torrent = new TorrentInfo(0, 0);
currentTorrent.downloadRate = downloadRate.Text.ParseValidInt64(torrent.downloadRate / 1024) * 1024;
}
AddLogLine("Download rate changed to " + (currentTorrent.downloadRate / 1024));
}