Skip to content

Commit

Permalink
Fix truly ancient bug that fails to open the content tab after a drag…
Browse files Browse the repository at this point in the history
…/drop event
  • Loading branch information
beqjanus committed Jan 10, 2025
1 parent e95e652 commit ea2956b
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions indra/newview/lltoolcomp.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -344,7 +344,7 @@ bool LLToolCompTranslate::handleDoubleClick(S32 x, S32 y, MASK mask)
{
// You should already have an object selected from the mousedown.
// If so, show its properties
LLFloaterReg::showInstance("build", "Content");
LLFloaterReg::showInstance("build", "Contents");
return true;
}
// Nothing selected means the first mouse click was probably
Expand Down Expand Up @@ -463,7 +463,7 @@ bool LLToolCompScale::handleDoubleClick(S32 x, S32 y, MASK mask)
{
// You should already have an object selected from the mousedown.
// If so, show its properties
LLFloaterReg::showInstance("build", "Content");
LLFloaterReg::showInstance("build", "Contents");
return true;
}
else
Expand Down Expand Up @@ -674,7 +674,7 @@ bool LLToolCompRotate::handleDoubleClick(S32 x, S32 y, MASK mask)
{
// You should already have an object selected from the mousedown.
// If so, show its properties
LLFloaterReg::showInstance("build", "Content");
LLFloaterReg::showInstance("build", "Contents");
return true;
}
else
Expand Down
2 changes: 1 addition & 1 deletion indra/newview/lltooldraganddrop.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1887,7 +1887,7 @@ void LLToolDragAndDrop::dropInventory(LLViewerObject* hit_obj,
if (LLFloaterReg::instanceVisible("build"))
{
// *FIX: only show this if panel not expanded?
LLFloaterReg::showInstance("build", "Content");
LLFloaterReg::showInstance("build", "Contents");
}

// VEFFECT: AddToInventory
Expand Down
2 changes: 1 addition & 1 deletion indra/newview/lltoolindividual.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ bool LLToolIndividual::handleDoubleClick(S32 x, S32 y, MASK mask)
{
// You should already have an object selected from the mousedown.
// If so, show its inventory.
LLFloaterReg::showInstance("build", "Content");
LLFloaterReg::showInstance("build", "Contents");
return true;
}
else
Expand Down

0 comments on commit ea2956b

Please sign in to comment.