summaryrefslogtreecommitdiff
path: root/indra/newview
diff options
context:
space:
mode:
authorTofu Linden <tofu.linden@lindenlab.com>2010-02-12 17:53:02 +0000
committerTofu Linden <tofu.linden@lindenlab.com>2010-02-12 17:53:02 +0000
commita80fdcd8f2163ef98ff9eba9319e17ccafc05f9a (patch)
tree1556149c97ed9a6a21e74f52e7599ac478b8f182 /indra/newview
parent21e86251c0e328a491ffe78d0f34c39646bbf447 (diff)
CID-217
Checker: REVERSE_INULL Function: LLFloaterGesture::postBuild() File: /indra/newview/llfloatergesture.cpp
Diffstat (limited to 'indra/newview')
-rw-r--r--indra/newview/llfloatergesture.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/indra/newview/llfloatergesture.cpp b/indra/newview/llfloatergesture.cpp
index 90617a337a..b02247781d 100644
--- a/indra/newview/llfloatergesture.cpp
+++ b/indra/newview/llfloatergesture.cpp
@@ -203,12 +203,12 @@ BOOL LLFloaterGesture::postBuild()
gInventory.addObserver(this);
fetchDescendents(folders);
- buildGestureList();
-
- mGestureList->setFocus(TRUE);
-
if (mGestureList)
{
+ buildGestureList();
+
+ mGestureList->setFocus(TRUE);
+
const BOOL ascending = TRUE;
mGestureList->sortByColumn(std::string("name"), ascending);
mGestureList->selectFirstItem();