summaryrefslogtreecommitdiff
path: root/indra/newview
diff options
context:
space:
mode:
authormaxim_productengine <mnikolenko@productengine.com>2012-08-09 13:34:15 +0300
committermaxim_productengine <mnikolenko@productengine.com>2012-08-09 13:34:15 +0300
commit182edd329beda3c7a03885a804c2ff9ad012fb99 (patch)
tree70d6cb212017492e26512e9520e7e3f4f0603686 /indra/newview
parentb38d8b1e15d9d2c52e7f2fa7d654e06039eb7b2f (diff)
MAINT-712 FIXED Set "isLandmarkEditModeOn" to "false" before updating verbs for Landmark tab
Diffstat (limited to 'indra/newview')
-rw-r--r--indra/newview/llpanelplaces.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/newview/llpanelplaces.cpp b/indra/newview/llpanelplaces.cpp
index 6d321d4716..6c2a01fc82 100644
--- a/indra/newview/llpanelplaces.cpp
+++ b/indra/newview/llpanelplaces.cpp
@@ -366,6 +366,7 @@ void LLPanelPlaces::onOpen(const LLSD& key)
if (key.size() != 0)
{
+ isLandmarkEditModeOn = false;
std::string key_type = key["type"].asString();
if (key_type == LANDMARK_TAB_INFO_TYPE)
{
@@ -392,7 +393,6 @@ void LLPanelPlaces::onOpen(const LLSD& key)
mPlaceInfoType = key_type;
mPosGlobal.setZero();
mItem = NULL;
- isLandmarkEditModeOn = false;
togglePlaceInfoPanel(TRUE);
if (mPlaceInfoType == AGENT_INFO_TYPE)