summaryrefslogtreecommitdiff
path: root/indra/newview/llfloatergesture.cpp
diff options
context:
space:
mode:
authorPaul Guslisty <pguslisty@productengine.com>2010-03-26 14:21:50 +0200
committerPaul Guslisty <pguslisty@productengine.com>2010-03-26 14:21:50 +0200
commitb846bc1fe48e8681f9f468d097228e3330d10ce8 (patch)
tree23e3cc8b6f53b4fcc9bf7e50d3b42f50d26b6a5f /indra/newview/llfloatergesture.cpp
parent65ed2a42319fd3bedf669553333d1aa75cfb2c44 (diff)
Fixed normal bug EXT-6331 (Gestures floater has an extra column titled \"1\")
- Corrected wrong indexes at the point of adding gestures to the gestures list. Problem probably is a result of 'copy & paste'. Reviewed by Mike Antipov at https://codereview.productengine.com/secondlife/r/113/ --HG-- branch : product-engine
Diffstat (limited to 'indra/newview/llfloatergesture.cpp')
-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 9c1ac2631d..ac32319690 100644
--- a/indra/newview/llfloatergesture.cpp
+++ b/indra/newview/llfloatergesture.cpp
@@ -354,10 +354,10 @@ void LLFloaterGesture::addGesture(const LLUUID& item_id , LLMultiGesture* gestur
element["columns"][0]["value"] = "";
element["columns"][0]["font"]["name"] = "SANSSERIF";
element["columns"][0]["font"]["style"] = font_style;
- element["columns"][0]["column"] = "trigger";
- element["columns"][0]["value"] = "---";
- element["columns"][0]["font"]["name"] = "SANSSERIF";
- element["columns"][0]["font"]["style"] = font_style;
+ element["columns"][1]["column"] = "shortcut";
+ element["columns"][1]["value"] = "---";
+ element["columns"][1]["font"]["name"] = "SANSSERIF";
+ element["columns"][1]["font"]["style"] = font_style;
element["columns"][2]["column"] = "key";
element["columns"][2]["value"] = "~~~";
element["columns"][2]["font"]["name"] = "SANSSERIF";