summaryrefslogtreecommitdiff
path: root/src/gui/inventorywindow.cpp
diff options
context:
space:
mode:
authorDavid Athay <ko2fan@gmail.com>2009-01-13 12:48:36 +0000
committerIra Rice <irarice@gmail.com>2009-01-20 10:54:07 -0700
commit088ccc74d9b8695c906eaabae8e4019ebf55c83c (patch)
tree8054c8531d721a7555b2c2b46c7b43adbad9b9d2 /src/gui/inventorywindow.cpp
parent114559b98b7e8c94b1d84d4d450309fd16ed2a38 (diff)
downloadmana-088ccc74d9b8695c906eaabae8e4019ebf55c83c.tar.gz
mana-088ccc74d9b8695c906eaabae8e4019ebf55c83c.tar.bz2
mana-088ccc74d9b8695c906eaabae8e4019ebf55c83c.tar.xz
mana-088ccc74d9b8695c906eaabae8e4019ebf55c83c.zip
Added WoW style item adding to chat window. Right click, then left
clicking on add to chat to put the item in the chat input. Left click the item link to show a popup description, and click the link again to remove the popup.
Diffstat (limited to 'src/gui/inventorywindow.cpp')
-rw-r--r--src/gui/inventorywindow.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/gui/inventorywindow.cpp b/src/gui/inventorywindow.cpp
index 5ac966e3..efe1cd51 100644
--- a/src/gui/inventorywindow.cpp
+++ b/src/gui/inventorywindow.cpp
@@ -42,7 +42,8 @@
#include "../utils/tostring.h"
InventoryWindow::InventoryWindow():
- Window(_("Inventory"))
+ Window(_("Inventory")),
+ mItemDesc(false)
{
setWindowName(_("Inventory"));
setResizable(true);
@@ -201,8 +202,7 @@ void InventoryWindow::updateButtons()
}
else {
mUseButton->setCaption(_("Equip"));
- }
- }
+ } }
else {
mUseButton->setCaption(_("Use"));
}