diff options
author | Ira Rice <irarice@gmail.com> | 2009-04-20 20:32:12 +0200 |
---|---|---|
committer | Bjørn Lindeijer <bjorn@lindeijer.nl> | 2009-04-20 20:32:55 +0200 |
commit | b926bec4ff23e43729e88ea36c3cba9509b66f7c (patch) | |
tree | a68850498d170640f57e2d0f74716b6a61f700c9 /src/gui/popupmenu.cpp | |
parent | a1dbbdf1ca8560de8cff703d21c0063610261196 (diff) | |
download | mana-b926bec4ff23e43729e88ea36c3cba9509b66f7c.tar.gz mana-b926bec4ff23e43729e88ea36c3cba9509b66f7c.tar.bz2 mana-b926bec4ff23e43729e88ea36c3cba9509b66f7c.tar.xz mana-b926bec4ff23e43729e88ea36c3cba9509b66f7c.zip |
Reduced the weight of a few gui windows and popups which wrapped their
TextBoxes in ScrollAreas, but never needed to scroll (and disabled both
the horizontal and vertical scrollbars, which makes using a scrollarea
kind of pointless to begin with).
Signed-off-by: Ira Rice <irarice@gmail.com>
Signed-off-by: Bjørn Lindeijer <bjorn@lindeijer.nl>
Diffstat (limited to 'src/gui/popupmenu.cpp')
-rw-r--r-- | src/gui/popupmenu.cpp | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/src/gui/popupmenu.cpp b/src/gui/popupmenu.cpp index d3298961..94d39e78 100644 --- a/src/gui/popupmenu.cpp +++ b/src/gui/popupmenu.cpp @@ -262,13 +262,9 @@ void PopupMenu::handleLink(const std::string &link) player_node->equipItem(mItem); #else if (mItem->isEquipped()) - { player_node->unequipItem(mItem); - } else - { player_node->equipItem(mItem); - } #endif } else |