summaryrefslogtreecommitdiff
path: root/indra/newview/llpanellandmarkinfo.cpp
diff options
context:
space:
mode:
authorMerov Linden <merov@lindenlab.com>2010-12-06 15:28:24 -0800
committerMerov Linden <merov@lindenlab.com>2010-12-06 15:28:24 -0800
commit4669dae30407d95b25bd48401c8bf3f9e7095859 (patch)
treeaeb7ef6f65bd5a0791de8ebfa70ca01c7721dc19 /indra/newview/llpanellandmarkinfo.cpp
parent50b6114862ee105b084975bcc8c455f0a1d411d8 (diff)
parente03e3257ab2405149c85277e7259dbc2b361dcb0 (diff)
STORM-730, STORM-717, STORM-690 : pull into viewer-beta
Diffstat (limited to 'indra/newview/llpanellandmarkinfo.cpp')
-rw-r--r--indra/newview/llpanellandmarkinfo.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/indra/newview/llpanellandmarkinfo.cpp b/indra/newview/llpanellandmarkinfo.cpp
index 87acd83b23..c57746ec00 100644
--- a/indra/newview/llpanellandmarkinfo.cpp
+++ b/indra/newview/llpanellandmarkinfo.cpp
@@ -180,6 +180,9 @@ void LLPanelLandmarkInfo::setInfoType(EInfoType type)
populateFoldersList();
+ // Prevent the floater from losing focus (if the sidepanel is undocked).
+ setFocus(TRUE);
+
LLPanelPlaceInfo::setInfoType(type);
}
@@ -330,6 +333,9 @@ void LLPanelLandmarkInfo::toggleLandmarkEditMode(BOOL enabled)
// when it was enabled/disabled we set the text once again.
mNotesEditor->setText(mNotesEditor->getText());
}
+
+ // Prevent the floater from losing focus (if the sidepanel is undocked).
+ setFocus(TRUE);
}
const std::string& LLPanelLandmarkInfo::getLandmarkTitle() const