diff options
author | Andrei Karas <akaras@inbox.ru> | 2011-05-31 20:24:11 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2011-05-31 20:24:11 +0300 |
commit | 4157793fab13e00d8176d2d4f0ffd5f9cc957fbe (patch) | |
tree | 9a5e21436a3a1cf2c0ef6c2eaac71efc9efa053f /src | |
parent | e5f77d32668cd1d5daa1b6deb5fe6da7eaf2f75d (diff) | |
download | manaverse-4157793fab13e00d8176d2d4f0ffd5f9cc957fbe.tar.gz manaverse-4157793fab13e00d8176d2d4f0ffd5f9cc957fbe.tar.bz2 manaverse-4157793fab13e00d8176d2d4f0ffd5f9cc957fbe.tar.xz manaverse-4157793fab13e00d8176d2d4f0ffd5f9cc957fbe.zip |
Dont unselect outfits selection after ading item to outfits.
Diffstat (limited to 'src')
-rw-r--r-- | src/gui/outfitwindow.cpp | 6 |
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) |