summaryrefslogtreecommitdiff
path: root/indra/newview/llpanelmaininventory.cpp
diff options
context:
space:
mode:
authorsimon@Simon-PC.lindenlab.com <simon@Simon-PC.lindenlab.com>2012-07-02 16:40:18 -0700
committersimon@Simon-PC.lindenlab.com <simon@Simon-PC.lindenlab.com>2012-07-02 16:40:18 -0700
commitf199b298b4bbd01702ea248236d00a1e05b7bdeb (patch)
treec9c8a9076ae9cce724e0a6c74b2a8beef7000934 /indra/newview/llpanelmaininventory.cpp
parenta96a260a4dc9df6a16b3c917e2e2d2c13a4f7eea (diff)
MAINT-971 : [PUBLIC]Renaming a new inventory item while filtering item names
renames parent folder instead. Reviewed by Kelly
Diffstat (limited to 'indra/newview/llpanelmaininventory.cpp')
-rw-r--r--indra/newview/llpanelmaininventory.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/indra/newview/llpanelmaininventory.cpp b/indra/newview/llpanelmaininventory.cpp
index c11597f532..9f3273da2d 100644
--- a/indra/newview/llpanelmaininventory.cpp
+++ b/indra/newview/llpanelmaininventory.cpp
@@ -306,6 +306,7 @@ void LLPanelMainInventory::newWindow()
void LLPanelMainInventory::doCreate(const LLSD& userdata)
{
+ reset_inventory_filter();
menu_create_inventory_item(getPanel()->getRootFolder(), NULL, userdata);
}