From c2922a402d2e45284e2cd829175b958e081b264d Mon Sep 17 00:00:00 2001 From: Merov Linden Date: Wed, 22 Feb 2012 16:55:46 -0800 Subject: EXP-1905, EXP-1911: Be a bit less forcefull when updating the filter after a change on the clipboard --- indra/newview/llinventorypanel.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'indra') diff --git a/indra/newview/llinventorypanel.cpp b/indra/newview/llinventorypanel.cpp index 4508e7e083..d569d819dd 100644 --- a/indra/newview/llinventorypanel.cpp +++ b/indra/newview/llinventorypanel.cpp @@ -286,7 +286,7 @@ void LLInventoryPanel::draw() if (mClipboardState != LLClipboard::getInstance()->getState()) { mClipboardState = LLClipboard::getInstance()->getState(); - getFilter()->setModified(LLInventoryFilter::FILTER_RESTART); + getFilter()->setModified(LLClipboard::getInstance()->isCutMode() ? LLInventoryFilter::FILTER_MORE_RESTRICTIVE : LLInventoryFilter::FILTER_LESS_RESTRICTIVE); } LLPanel::draw(); -- cgit v1.2.3