From 4157793fab13e00d8176d2d4f0ffd5f9cc957fbe Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Tue, 31 May 2011 20:24:11 +0300 Subject: Dont unselect outfits selection after ading item to outfits. --- src/gui/outfitwindow.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src') 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) -- cgit v1.2.3-70-g09d2