summaryrefslogtreecommitdiff
path: root/indra
diff options
context:
space:
mode:
authorMerov Linden <merov@lindenlab.com>2012-02-22 16:55:46 -0800
committerMerov Linden <merov@lindenlab.com>2012-02-22 16:55:46 -0800
commitc2922a402d2e45284e2cd829175b958e081b264d (patch)
treea947733ca820a7b4b750e52332ac3907942dbc2f /indra
parentb14e34444b1f08c4a3df5abbe2ebd5880cc41ce7 (diff)
EXP-1905, EXP-1911: Be a bit less forcefull when updating the filter after a change on the clipboard
Diffstat (limited to 'indra')
-rw-r--r--indra/newview/llinventorypanel.cpp2
1 files changed, 1 insertions, 1 deletions
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();