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.cpp12
1 files changed, 7 insertions, 5 deletions
diff --git a/linden/indra/newview/llfloaterbuy.cpp b/linden/indra/newview/llfloaterbuy.cpp
index 5d815fa..9e8556f 100644
--- a/linden/indra/newview/llfloaterbuy.cpp
+++ b/linden/indra/newview/llfloaterbuy.cpp
@@ -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}