summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/gui/serverdialog.cpp7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/gui/serverdialog.cpp b/src/gui/serverdialog.cpp
index 340536d1..dfe809bc 100644
--- a/src/gui/serverdialog.cpp
+++ b/src/gui/serverdialog.cpp
@@ -445,6 +445,10 @@ void ServerDialog::logic()
{
mDescription->setCaption(_("Preparing download"));
}
+ else if (mDownloadStatus == DOWNLOADING_ERROR)
+ {
+ mDescription->setCaption(_("Error retreiving server list!"));
+ }
}
Window::logic();
@@ -666,8 +670,7 @@ int ServerDialog::downloadUpdate(void *ptr, DownloadStatus status,
{
logger->log("Error retreiving server list: %s\n",
sd->mDownload->getError());
-
- finished = true;
+ sd->mDownloadStatus = DOWNLOADING_ERROR;
}
else
{