summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDenis Serdjuk <dserduk@productengine.com>2010-02-24 15:25:02 +0200
committerDenis Serdjuk <dserduk@productengine.com>2010-02-24 15:25:02 +0200
commit4ad0d181dbb0ac4b093d029f2eb42548af57560b (patch)
treeb972bf8269e06608bfc30b00c4778eb0c5afcf4c
parent1ef3fed827d7bcc901fc6e000033e45925f09b5c (diff)
parent887d03e55fe0a2086b21f401f74908c395749660 (diff)
merge
--HG-- branch : product-engine
-rw-r--r--indra/newview/lllocationinputctrl.cpp9
-rw-r--r--indra/newview/lllocationinputctrl.h7
2 files changed, 0 insertions, 16 deletions
diff --git a/indra/newview/lllocationinputctrl.cpp b/indra/newview/lllocationinputctrl.cpp
index f8f9ea7379..bdd4426636 100644
--- a/indra/newview/lllocationinputctrl.cpp
+++ b/indra/newview/lllocationinputctrl.cpp
@@ -674,15 +674,6 @@ void LLLocationInputCtrl::onLocationPrearrange(const LLSD& data)
_1, filter));
}
}
- if(mList->isEmpty())
- {
- /**
- * Add a couple of empty items for a better view.
- * EXT-5194
- */
- for(int i = 0; i < NUMBER_OF_EMPTY_ITEMS; i++ )
- add("", LLSD());
- }
sortByName();
mList->mouseOverHighlightNthItem(-1); // Clear highlight on the last selected item.
diff --git a/indra/newview/lllocationinputctrl.h b/indra/newview/lllocationinputctrl.h
index ee128a5cf7..4bb41f3bf4 100644
--- a/indra/newview/lllocationinputctrl.h
+++ b/indra/newview/lllocationinputctrl.h
@@ -120,13 +120,6 @@ private:
ICON_COUNT
};
- /**
- * This constant holds number of empty dropdown items, which will be displayed instead of doing nothing when the list is empty.
- * Added due to EXT-5194
- */
- static const S32 NUMBER_OF_EMPTY_ITEMS = 3;
-
-
friend class LLUICtrlFactory;
LLLocationInputCtrl(const Params&);
virtual ~LLLocationInputCtrl();