diff options
| author | Leyla Farazha <leyla@lindenlab.com> | 2011-10-18 17:29:57 -0700 | 
|---|---|---|
| committer | Leyla Farazha <leyla@lindenlab.com> | 2011-10-18 17:29:57 -0700 | 
| commit | 5518d7486b6084c0b0193ce66eb50132cf804911 (patch) | |
| tree | feab2fb50edbd4e8a5bf952a48d94135ace7b0f1 /indra/newview | |
| parent | e2fe53bb5e96afcacd88de0942755977f84c583b (diff) | |
| parent | d6be2b49041c3ea51205bdd5a0ea7890afb9a5e5 (diff) | |
merge
Diffstat (limited to 'indra/newview')
| -rw-r--r-- | indra/newview/lltoolbarview.cpp | 6 | 
1 files changed, 6 insertions, 0 deletions
| diff --git a/indra/newview/lltoolbarview.cpp b/indra/newview/lltoolbarview.cpp index 21e682f072..c7c8268eb9 100644 --- a/indra/newview/lltoolbarview.cpp +++ b/indra/newview/lltoolbarview.cpp @@ -355,6 +355,12 @@ BOOL LLToolBarView::handleDragTool( S32 x, S32 y, const LLUUID& uuid, LLAssetTyp  			LLToolDragAndDrop::ESource src = LLToolDragAndDrop::SOURCE_VIEWER;  			LLUUID srcID;  			LLToolDragAndDrop::getInstance()->beginMultiDrag(types, cargo_ids, src, srcID); + +			// Second, stop the command if it is in progress and requires stopping! +			LLCommandId command_id = LLCommandId(uuid); +			gToolBarView->mToolbarLeft->stopCommandInProgress(command_id); +			gToolBarView->mToolbarRight->stopCommandInProgress(command_id); +			gToolBarView->mToolbarBottom->stopCommandInProgress(command_id);  			// Second, check if the command is present in one of the 3 toolbars  			// If it is, store the command, the toolbar and the rank in the toolbar and | 
