diff options
Diffstat (limited to 'linden/indra/newview/llfloaterproperties.cpp')
-rw-r--r-- | linden/indra/newview/llfloaterproperties.cpp | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/linden/indra/newview/llfloaterproperties.cpp b/linden/indra/newview/llfloaterproperties.cpp index 538e841..a1e6565 100644 --- a/linden/indra/newview/llfloaterproperties.cpp +++ b/linden/indra/newview/llfloaterproperties.cpp | |||
@@ -4,7 +4,7 @@ | |||
4 | * | 4 | * |
5 | * $LicenseInfo:firstyear=2002&license=viewergpl$ | 5 | * $LicenseInfo:firstyear=2002&license=viewergpl$ |
6 | * | 6 | * |
7 | * Copyright (c) 2002-2007, Linden Research, Inc. | 7 | * Copyright (c) 2002-2008, Linden Research, Inc. |
8 | * | 8 | * |
9 | * Second Life Viewer Source Code | 9 | * Second Life Viewer Source Code |
10 | * The source code in this file ("Source Code") is provided by Linden Lab | 10 | * The source code in this file ("Source Code") is provided by Linden Lab |
@@ -867,6 +867,12 @@ void LLFloaterProperties::updateSaleInfo() | |||
867 | && item->isComplete()) | 867 | && item->isComplete()) |
868 | { | 868 | { |
869 | LLPointer<LLViewerInventoryItem> new_item = new LLViewerInventoryItem(item); | 869 | LLPointer<LLViewerInventoryItem> new_item = new LLViewerInventoryItem(item); |
870 | |||
871 | // Force an update on the sale price. | ||
872 | U32 flags = new_item->getFlags(); | ||
873 | flags |= LLInventoryItem::II_FLAGS_OBJECT_SLAM_SALE; | ||
874 | new_item->setFlags(flags); | ||
875 | |||
870 | new_item->setSaleInfo(sale_info); | 876 | new_item->setSaleInfo(sale_info); |
871 | if(mObjectID.isNull()) | 877 | if(mObjectID.isNull()) |
872 | { | 878 | { |