aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/llui
diff options
context:
space:
mode:
authorArmin Weatherwax2011-04-27 12:33:44 +0200
committerArmin Weatherwax2011-05-17 07:52:27 +0200
commite87fab72a9d3252e682a9b1a37d0e92f46db739b (patch)
tree1a564a94c0743a440be251799390a424c6f5baa3 /linden/indra/llui
parentfix Bug #880 gridmanager defaults render_compat true instead of false. (diff)
downloadmeta-impy-e87fab72a9d3252e682a9b1a37d0e92f46db739b.zip
meta-impy-e87fab72a9d3252e682a9b1a37d0e92f46db739b.tar.gz
meta-impy-e87fab72a9d3252e682a9b1a37d0e92f46db739b.tar.bz2
meta-impy-e87fab72a9d3252e682a9b1a37d0e92f46db739b.tar.xz
fix bug #879 context menu of line + text editors triggers select all even if not asked to
Diffstat (limited to 'linden/indra/llui')
-rw-r--r--linden/indra/llui/lllineeditor.cpp2
-rw-r--r--linden/indra/llui/lltexteditor.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/linden/indra/llui/lllineeditor.cpp b/linden/indra/llui/lllineeditor.cpp
index 453bb50..c4f9525 100644
--- a/linden/indra/llui/lllineeditor.cpp
+++ b/linden/indra/llui/lllineeditor.cpp
@@ -1344,7 +1344,7 @@ void LLLineEditor::defineMenuCallbacks(LLMenuGL* menu) {
1344 "Select All Text", 1344 "Select All Text",
1345 this, 1345 this,
1346 (void*)context_enable_selectall); 1346 (void*)context_enable_selectall);
1347 menu->setCtrlResponse(1+LLCallbackInformation::LL_MENU_ITEM_CALL_GL_ON_CLICK, 1347 menu->setCtrlResponse(LLCallbackInformation::LL_MENU_ITEM_CALL_GL_ON_CLICK,
1348 "Select All Text", 1348 "Select All Text",
1349 this, 1349 this,
1350 (void*)context_selectall); 1350 (void*)context_selectall);
diff --git a/linden/indra/llui/lltexteditor.cpp b/linden/indra/llui/lltexteditor.cpp
index 5bddcbc..dd72a69 100644
--- a/linden/indra/llui/lltexteditor.cpp
+++ b/linden/indra/llui/lltexteditor.cpp
@@ -636,7 +636,7 @@ void LLTextEditor::defineMenuCallbacks(LLMenuGL* menu) {
636 "Select All Text", 636 "Select All Text",
637 this, 637 this,
638 (void*)context_enable_selectall); 638 (void*)context_enable_selectall);
639 menu->setCtrlResponse(1+LLCallbackInformation::LL_MENU_ITEM_CALL_GL_ON_CLICK, 639 menu->setCtrlResponse(LLCallbackInformation::LL_MENU_ITEM_CALL_GL_ON_CLICK,
640 "Select All Text", 640 "Select All Text",
641 this, 641 this,
642 (void*)context_selectall); 642 (void*)context_selectall);