summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2011-05-31 20:24:11 +0300
committerAndrei Karas <akaras@inbox.ru>2011-05-31 20:24:11 +0300
commit4157793fab13e00d8176d2d4f0ffd5f9cc957fbe (patch)
tree9a5e21436a3a1cf2c0ef6c2eaac71efc9efa053f /src
parente5f77d32668cd1d5daa1b6deb5fe6da7eaf2f75d (diff)
downloadplus-4157793fab13e00d8176d2d4f0ffd5f9cc957fbe.tar.gz
plus-4157793fab13e00d8176d2d4f0ffd5f9cc957fbe.tar.bz2
plus-4157793fab13e00d8176d2d4f0ffd5f9cc957fbe.tar.xz
plus-4157793fab13e00d8176d2d4f0ffd5f9cc957fbe.zip
Dont unselect outfits selection after ading item to outfits.
Diffstat (limited to 'src')
-rw-r--r--src/gui/outfitwindow.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/gui/outfitwindow.cpp b/src/gui/outfitwindow.cpp
index 6f2c35921..e322187fd 100644
--- a/src/gui/outfitwindow.cpp
+++ b/src/gui/outfitwindow.cpp
@@ -377,7 +377,7 @@ void OutfitWindow::mousePressed(gcn::MouseEvent &event)
if (isItemSelected())
{
mItems[mCurrentOutfit][index] = mItemSelected;
- mItemSelected = -1;
+// mItemSelected = -1;
}
else if (mItems[mCurrentOutfit][index])
{
@@ -390,8 +390,8 @@ void OutfitWindow::mouseReleased(gcn::MouseEvent &event)
{
if (event.getButton() == gcn::MouseEvent::LEFT)
{
- if (isItemSelected())
- mItemSelected = -1;
+// if (isItemSelected())
+// mItemSelected = -1;
const int index = getIndexFromGrid(event.getX(), event.getY());
if (index == -1)