summaryrefslogtreecommitdiff
path: root/indra/newview/lllocationinputctrl.h
diff options
context:
space:
mode:
authorDenis Serdjuk <dserduk@productengine.com>2010-02-25 19:15:59 +0200
committerDenis Serdjuk <dserduk@productengine.com>2010-02-25 19:15:59 +0200
commite235e71b907d7fa4d6bd15852e0a3eae3cbd07c5 (patch)
treebba20f93df8c5e92d5bcba6d2b197ed9606da8dd /indra/newview/lllocationinputctrl.h
parent087ea1cef62d383821e8e340551e757cb604b553 (diff)
Bug Low EXT-5194 SLURL field dropdown should display empty menu rather than do nothing when empty
Solution: Button of dropdown list will be disabled if there are no items in location history --HG-- branch : product-engine
Diffstat (limited to 'indra/newview/lllocationinputctrl.h')
-rw-r--r--indra/newview/lllocationinputctrl.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/indra/newview/lllocationinputctrl.h b/indra/newview/lllocationinputctrl.h
index 4bb41f3bf4..dac6be2a24 100644
--- a/indra/newview/lllocationinputctrl.h
+++ b/indra/newview/lllocationinputctrl.h
@@ -36,6 +36,7 @@
#include "llcombobox.h"
#include "lliconctrl.h" // Params
#include "lltextbox.h" // Params
+#include "lllocationhistory.h"
class LLLandmark;
@@ -137,7 +138,7 @@ private:
void refreshHealth();
void positionMaturityIcon();
- void rebuildLocationHistory(std::string filter = "");
+ void rebuildLocationHistory(const std::string& filter = LLStringUtil::null);
bool findTeleportItemsByTitle(const LLTeleportHistoryItem& item, const std::string& filter);
void setText(const LLStringExplicit& text);
void updateAddLandmarkButton();
@@ -147,7 +148,7 @@ private:
void changeLocationPresentation();
void onInfoButtonClicked();
- void onLocationHistoryLoaded();
+ void onLocationHistoryChanged(LLLocationHistory::EChangeType event);
void onLocationPrearrange(const LLSD& data);
void onTextEditorRightClicked(S32 x, S32 y, MASK mask);
void onLandmarkLoaded(LLLandmark* lm);