summaryrefslogtreecommitdiff
path: root/src/gui/updatewindow.cpp
diff options
context:
space:
mode:
authorBjørn Lindeijer <bjorn@lindeijer.nl>2006-12-11 18:43:56 +0000
committerBjørn Lindeijer <bjorn@lindeijer.nl>2006-12-11 18:43:56 +0000
commitd7015ada2a147926e7cedf80d10ea281c6e06798 (patch)
treed385ad0989883f70e8c8e8b093b74eb2ffa92281 /src/gui/updatewindow.cpp
parenta960554e550ef12455f68fee540f9054faa6c618 (diff)
downloadmana-d7015ada2a147926e7cedf80d10ea281c6e06798.tar.gz
mana-d7015ada2a147926e7cedf80d10ea281c6e06798.tar.bz2
mana-d7015ada2a147926e7cedf80d10ea281c6e06798.tar.xz
mana-d7015ada2a147926e7cedf80d10ea281c6e06798.zip
Fixed visibility of the update window.
Diffstat (limited to 'src/gui/updatewindow.cpp')
-rw-r--r--src/gui/updatewindow.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gui/updatewindow.cpp b/src/gui/updatewindow.cpp
index d8244d37..a23438cb 100644
--- a/src/gui/updatewindow.cpp
+++ b/src/gui/updatewindow.cpp
@@ -83,8 +83,9 @@ UpdaterWindow::UpdaterWindow():
add(mCancelButton);
add(mPlayButton);
- mCancelButton->requestFocus();
setLocationRelativeTo(getParent());
+ setVisible(true);
+ mCancelButton->requestFocus();
mUpdateHost =
config.getValue("updatehost", "http://updates.themanaworld.org");
@@ -179,7 +180,6 @@ void UpdaterWindow::loadNews()
mMemoryBuffer = NULL;
mScrollArea->setVerticalScrollAmount(0);
- setVisible(true);
}
void UpdaterWindow::addRow(const std::string &row)