temp fix to downloading folders (#2442)
This commit is contained in:
parent
ba0029f448
commit
638c5e25fa
1 changed files with 5 additions and 0 deletions
|
@ -190,8 +190,13 @@ void TabReplays::actDownload()
|
||||||
}
|
}
|
||||||
|
|
||||||
ServerInfo_Replay const *curRight = serverDirView->getCurrentReplay();
|
ServerInfo_Replay const *curRight = serverDirView->getCurrentReplay();
|
||||||
|
|
||||||
if (!curRight)
|
if (!curRight)
|
||||||
|
{
|
||||||
|
QMessageBox::information(this, tr("Downloading Replays"), tr("You cannot download replay folders at this time"));
|
||||||
return;
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
filePath += QString("/replay_%1.cor").arg(curRight->replay_id());
|
filePath += QString("/replay_%1.cor").arg(curRight->replay_id());
|
||||||
|
|
||||||
Command_ReplayDownload cmd;
|
Command_ReplayDownload cmd;
|
||||||
|
|
Loading…
Reference in a new issue