Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Testicular Slingshot
Alchemy Viewer
Commits
ea548fcd
Commit
ea548fcd
authored
Jun 27, 2017
by
Cinder
Browse files
Follow suit with task properties panel
parent
672da8f7
Changes
2
Hide whitespace changes
Inline
Side-by-side
indra/newview/llsidepaneltaskinfo.cpp
View file @
ea548fcd
...
...
@@ -192,6 +192,14 @@ BOOL LLSidepanelTaskInfo::postBuild()
mDetailsBtn
=
getChild
<
LLButton
>
(
"details_btn"
);
mDetailsBtn
->
setClickedCallback
(
boost
::
bind
(
&
LLSidepanelTaskInfo
::
onDetailsButtonClicked
,
this
));
if
(
LLFloater
*
floater
=
dynamic_cast
<
LLFloater
*>
(
getParent
()))
getChild
<
LLUICtrl
>
(
"back_btn"
)
->
setCommitCallback
(
boost
::
bind
(
&
LLSidepanelTaskInfo
::
closeParentFloater
,
this
));
//else if (dynamic_cast<LLSideTrayPanelContainer*>(getParent()))
// getChild<LLUICtrl>("back_btn")->setCommitCallback(boost::bind(&LLSidepanelTaskInfo::onBackBtnClick, this));
else
getChild
<
LLUICtrl
>
(
"back_btn"
)
->
setEnabled
(
FALSE
);
return
TRUE
;
}
...
...
@@ -1332,3 +1340,9 @@ const LLUUID& LLSidepanelTaskInfo::getSelectedUUID()
}
return
LLUUID
::
null
;
}
void
LLSidepanelTaskInfo
::
closeParentFloater
()
{
LLFloater
*
floater
=
dynamic_cast
<
LLFloater
*>
(
getParent
());
if
(
floater
)
floater
->
closeFloater
();
}
indra/newview/llsidepaneltaskinfo.h
View file @
ea548fcd
...
...
@@ -96,6 +96,8 @@ protected:
void
disableAll
();
private:
void
closeParentFloater
();
LLUUID
mCreatorID
;
LLUUID
mOwnerID
;
LLUUID
mLastOwnerID
;
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment