temp fix to downloading folders (#2442)

This commit is contained in:
Zach H 2017-03-04 22:36:35 -05:00 committed by GitHub
parent ba0029f448
commit 638c5e25fa

View file

@ -190,8 +190,13 @@ void TabReplays::actDownload()
}
ServerInfo_Replay const *curRight = serverDirView->getCurrentReplay();
if (!curRight)
{
QMessageBox::information(this, tr("Downloading Replays"), tr("You cannot download replay folders at this time"));
return;
}
filePath += QString("/replay_%1.cor").arg(curRight->replay_id());
Command_ReplayDownload cmd;