diff options
author | Jared Adams <jaxad0127@gmail.com> | 2010-04-12 21:08:13 -0600 |
---|---|---|
committer | Jared Adams <jaxad0127@gmail.com> | 2010-04-12 21:08:13 -0600 |
commit | 9f6c1f0bd9d2ef9a3be35fee2c488d8ea6c09d6d (patch) | |
tree | f7c492ed3fc73330083c256e1e47881115837bb2 /src/gui | |
parent | 38ede22efeb3405c58b431d480fbf8f896bacb42 (diff) | |
download | mana-client-9f6c1f0bd9d2ef9a3be35fee2c488d8ea6c09d6d.tar.gz mana-client-9f6c1f0bd9d2ef9a3be35fee2c488d8ea6c09d6d.tar.bz2 mana-client-9f6c1f0bd9d2ef9a3be35fee2c488d8ea6c09d6d.tar.xz mana-client-9f6c1f0bd9d2ef9a3be35fee2c488d8ea6c09d6d.zip |
Fix error in server list download when download has problems
Diffstat (limited to 'src/gui')
-rw-r--r-- | src/gui/serverdialog.cpp | 7 |
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 { |