MAINT-712 FIXED Set "isLandmarkEditModeOn" to "false" before updating verbs for Landmark tab

meow-7.2.2
maxim_productengine 2012-08-09 13:34:15 +03:00
parent b38d8b1e15
commit 182edd329b
1 changed files with 1 additions and 1 deletions

View File

@ -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)