diff options
author | Tofu Linden <tofu.linden@lindenlab.com> | 2010-02-12 17:55:39 +0000 |
---|---|---|
committer | Tofu Linden <tofu.linden@lindenlab.com> | 2010-02-12 17:55:39 +0000 |
commit | 6e0ebfe18c431465f6d1bc52e079c7a745419de5 (patch) | |
tree | fb2f8704b07d23f267a0ef6ece266e2b5dbdd4a8 /indra/newview/llfloatergesture.cpp | |
parent | a80fdcd8f2163ef98ff9eba9319e17ccafc05f9a (diff) |
CID-215
Checker: REVERSE_INULL
File: /indra/newview/llfloatergesture.cpp
Diffstat (limited to 'indra/newview/llfloatergesture.cpp')
-rw-r--r-- | indra/newview/llfloatergesture.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/indra/newview/llfloatergesture.cpp b/indra/newview/llfloatergesture.cpp index b02247781d..9c1ac2631d 100644 --- a/indra/newview/llfloatergesture.cpp +++ b/indra/newview/llfloatergesture.cpp @@ -223,10 +223,10 @@ BOOL LLFloaterGesture::postBuild() void LLFloaterGesture::refreshAll() { - buildGestureList(); - if (!mGestureList) return; + buildGestureList(); + if (mSelectedID.isNull()) { mGestureList->selectFirstItem(); |