From 1b92609dec6d2346f83f06455f7771ea6495480a Mon Sep 17 00:00:00 2001 From: McCabe Maxsted Date: Sat, 14 Feb 2009 00:58:18 -0700 Subject: Removed search for non-existant floater_preview_new_landmark.xml --- linden/indra/newview/llpreviewlandmark.cpp | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) (limited to 'linden') diff --git a/linden/indra/newview/llpreviewlandmark.cpp b/linden/indra/newview/llpreviewlandmark.cpp index dba603b..01d77f6 100644 --- a/linden/indra/newview/llpreviewlandmark.cpp +++ b/linden/indra/newview/llpreviewlandmark.cpp @@ -90,15 +90,7 @@ LLPreviewLandmark::LLPreviewLandmark(const std::string& name, { mFactoryMap["place_details_panel"] = LLCallbackMap(LLPreviewLandmark::createPlaceDetail, this); - if (show_keep_discard) - { - LLUICtrlFactory::getInstance()->buildFloater(this, "floater_preview_new_landmark.xml", &getFactoryMap()); - childSetAction("Discard btn",onDiscardBtn,this); - } - else - { - LLUICtrlFactory::getInstance()->buildFloater(this, "floater_preview_existing_landmark.xml", &getFactoryMap()); - } + LLUICtrlFactory::getInstance()->buildFloater(this, "floater_preview_existing_landmark.xml", &getFactoryMap()); /* childSetCommitCallback("desc_editor", LLPreview::onText, this); -- cgit v1.1