diff --git a/cockatrice/src/tab_replays.cpp b/cockatrice/src/tab_replays.cpp index a0fa6764..710483c3 100644 --- a/cockatrice/src/tab_replays.cpp +++ b/cockatrice/src/tab_replays.cpp @@ -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;