summaryrefslogtreecommitdiff
path: root/indra/newview/llfloaterbuy.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'indra/newview/llfloaterbuy.cpp')
-rw-r--r--indra/newview/llfloaterbuy.cpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/indra/newview/llfloaterbuy.cpp b/indra/newview/llfloaterbuy.cpp
index a7aaf71ef6..473d5ce827 100644
--- a/indra/newview/llfloaterbuy.cpp
+++ b/indra/newview/llfloaterbuy.cpp
@@ -73,6 +73,8 @@ BOOL LLFloaterBuy::postBuild()
// This also avoids problems where the user resizes the application window
// mid-session and the saved rect is off-center.
center();
+
+ mCloseSignal.connect(boost::bind(&LLFloaterBuy::onClose, this));
return TRUE;
}
@@ -307,3 +309,8 @@ void LLFloaterBuy::onClickCancel()
{
closeFloater();
}
+
+void LLFloaterBuy::onClose()
+{
+ mObjectSelection.clear();
+}