diff options
Diffstat (limited to 'linden/indra/newview/llfloaterbuy.cpp')
-rw-r--r-- | linden/indra/newview/llfloaterbuy.cpp | 12 |
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 | ||
292 | void LLFloaterBuy::close(bool app_quitting) | ||
293 | { | ||
294 | LLSelectMgr::getInstance()->deselectAll(); | ||
295 | LLFloater::close(app_quitting); | ||
296 | } | ||
297 | 292 | ||
298 | // static | 293 | // static |
299 | void LLFloaterBuy::onClickBuy(void*) | 294 | void LLFloaterBuy::onClickBuy(void*) |
@@ -325,3 +320,10 @@ void LLFloaterBuy::onClickCancel(void*) | |||
325 | sInstance->close(); | 320 | sInstance->close(); |
326 | } | 321 | } |
327 | } | 322 | } |
323 | |||
324 | void 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 | } | ||