From b926bec4ff23e43729e88ea36c3cba9509b66f7c Mon Sep 17 00:00:00 2001 From: Ira Rice Date: Mon, 20 Apr 2009 20:32:12 +0200 Subject: 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). MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Ira Rice Signed-off-by: Bjørn Lindeijer --- src/gui/popupmenu.cpp | 4 ---- 1 file changed, 4 deletions(-) (limited to 'src/gui/popupmenu.cpp') 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 -- cgit v1.2.3-70-g09d2