aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/newview/llfloaterbuy.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'linden/indra/newview/llfloaterbuy.cpp')
-rw-r--r--linden/indra/newview/llfloaterbuy.cpp14
1 files changed, 8 insertions, 6 deletions
diff --git a/linden/indra/newview/llfloaterbuy.cpp b/linden/indra/newview/llfloaterbuy.cpp
index 5d815fa..dbb0157 100644
--- a/linden/indra/newview/llfloaterbuy.cpp
+++ b/linden/indra/newview/llfloaterbuy.cpp
@@ -5,7 +5,7 @@
5 * 5 *
6 * $LicenseInfo:firstyear=2004&license=viewergpl$ 6 * $LicenseInfo:firstyear=2004&license=viewergpl$
7 * 7 *
8 * Copyright (c) 2004-2008, Linden Research, Inc. 8 * Copyright (c) 2004-2009, Linden Research, Inc.
9 * 9 *
10 * Second Life Viewer Source Code 10 * Second Life Viewer Source Code
11 * The source code in this file ("Source Code") is provided by Linden Lab 11 * The source code in this file ("Source Code") is provided by Linden Lab
@@ -289,11 +289,6 @@ void LLFloaterBuy::inventoryChanged(LLViewerObject* obj,
289 removeVOInventoryListener(); 289 removeVOInventoryListener();
290} 290}
291 291
292void LLFloaterBuy::close(bool app_quitting)
293{
294 LLSelectMgr::getInstance()->deselectAll();
295 LLFloater::close(app_quitting);
296}
297 292
298// static 293// static
299void LLFloaterBuy::onClickBuy(void*) 294void LLFloaterBuy::onClickBuy(void*)
@@ -325,3 +320,10 @@ void LLFloaterBuy::onClickCancel(void*)
325 sInstance->close(); 320 sInstance->close();
326 } 321 }
327} 322}
323
324void LLFloaterBuy::onClose(bool app_quitting)
325{
326 // drop reference to current selection so selection goes away
327 mObjectSelection = NULL;
328 LLFloater::onClose(app_quitting);
329}