summaryrefslogtreecommitdiff
path: root/src/gui/menuwindow.cpp
diff options
context:
space:
mode:
authorBjørn Lindeijer <bjorn@lindeijer.nl>2007-08-22 09:05:24 +0000
committerBjørn Lindeijer <bjorn@lindeijer.nl>2007-08-22 09:05:24 +0000
commit353560a2829fb9b1d9d26121658ce83589c4f5ef (patch)
treea4eeb6f2f4f6d7eacdea7016fa8df034efd6788c /src/gui/menuwindow.cpp
parenta444a76ed37a52ba0004298f2512bee1c75273bc (diff)
downloadmana-353560a2829fb9b1d9d26121658ce83589c4f5ef.tar.gz
mana-353560a2829fb9b1d9d26121658ce83589c4f5ef.tar.bz2
mana-353560a2829fb9b1d9d26121658ce83589c4f5ef.tar.xz
mana-353560a2829fb9b1d9d26121658ce83589c4f5ef.zip
Added close button and item shortcut backgrounds to files that will be
installed.
Diffstat (limited to 'src/gui/menuwindow.cpp')
-rw-r--r--src/gui/menuwindow.cpp7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/gui/menuwindow.cpp b/src/gui/menuwindow.cpp
index c7505bae..e6b35f5a 100644
--- a/src/gui/menuwindow.cpp
+++ b/src/gui/menuwindow.cpp
@@ -118,9 +118,12 @@ void MenuWindowListener::action(const gcn::ActionEvent &event)
{
window = setupWindow;
}
- if (window) {
+
+ if (window)
+ {
window->setVisible(!window->isVisible());
- if (window->isVisible()) {
+ if (window->isVisible())
+ {
window->requestMoveToTop();
}
}