summaryrefslogtreecommitdiff
path: root/indra/newview/lllocationinputctrl.cpp
diff options
context:
space:
mode:
authorangela <angela@lindenlab.com>2010-02-23 23:57:50 +0800
committerangela <angela@lindenlab.com>2010-02-23 23:57:50 +0800
commit01ad8456a2566d258124677e0c7ce5eaa5003569 (patch)
tree381f50d83c727a46044733a776a252427c91627e /indra/newview/lllocationinputctrl.cpp
parente98d6a910a39671225f1af627570aee58517ea7f (diff)
parent43a9699de16c85d1c1a599fbe14512fbb6cbada1 (diff)
merge
Diffstat (limited to 'indra/newview/lllocationinputctrl.cpp')
-rw-r--r--indra/newview/lllocationinputctrl.cpp9
1 files changed, 9 insertions, 0 deletions
diff --git a/indra/newview/lllocationinputctrl.cpp b/indra/newview/lllocationinputctrl.cpp
index 04c684b240..a9ead36a70 100644
--- a/indra/newview/lllocationinputctrl.cpp
+++ b/indra/newview/lllocationinputctrl.cpp
@@ -674,6 +674,15 @@ 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.