aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/newview/llfloatereditui.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'linden/indra/newview/llfloatereditui.cpp')
-rw-r--r--linden/indra/newview/llfloatereditui.cpp7
1 files changed, 5 insertions, 2 deletions
diff --git a/linden/indra/newview/llfloatereditui.cpp b/linden/indra/newview/llfloatereditui.cpp
index 47cf97d..a65ffc2 100644
--- a/linden/indra/newview/llfloatereditui.cpp
+++ b/linden/indra/newview/llfloatereditui.cpp
@@ -4,6 +4,8 @@
4 * @date May 2005 4 * @date May 2005
5 * @brief In-world user interface editor 5 * @brief In-world user interface editor
6 * 6 *
7 * $LicenseInfo:firstyear=2005&license=viewergpl$
8 *
7 * Copyright (c) 2005-2007, Linden Research, Inc. 9 * Copyright (c) 2005-2007, Linden Research, Inc.
8 * 10 *
9 * Second Life Viewer Source Code 11 * Second Life Viewer Source Code
@@ -26,6 +28,7 @@
26 * ALL LINDEN LAB SOURCE CODE IS PROVIDED "AS IS." LINDEN LAB MAKES NO 28 * ALL LINDEN LAB SOURCE CODE IS PROVIDED "AS IS." LINDEN LAB MAKES NO
27 * WARRANTIES, EXPRESS, IMPLIED OR OTHERWISE, REGARDING ITS ACCURACY, 29 * WARRANTIES, EXPRESS, IMPLIED OR OTHERWISE, REGARDING ITS ACCURACY,
28 * COMPLETENESS OR PERFORMANCE. 30 * COMPLETENESS OR PERFORMANCE.
31 * $/LicenseInfo$
29 */ 32 */
30 33
31#include "llviewerprecompiledheaders.h" 34#include "llviewerprecompiledheaders.h"
@@ -233,7 +236,7 @@ void LLFloaterEditUI::refresh()
233 if (!view) 236 if (!view)
234 { 237 {
235 mLastView = NULL; 238 mLastView = NULL;
236 mLabelLine->setText(""); 239 mLabelLine->setText(LLString::null);
237 mLabelLine->setEnabled(FALSE); 240 mLabelLine->setEnabled(FALSE);
238 mWidthSpin->set(0.f); 241 mWidthSpin->set(0.f);
239 mWidthSpin->setEnabled(FALSE); 242 mWidthSpin->setEnabled(FALSE);
@@ -302,7 +305,7 @@ void LLFloaterEditUI::refreshCore()
302void LLFloaterEditUI::refreshView(LLView* view) 305void LLFloaterEditUI::refreshView(LLView* view)
303{ 306{
304 mLabelLine->setEnabled(FALSE); 307 mLabelLine->setEnabled(FALSE);
305 mLabelLine->setText(""); 308 mLabelLine->setText(LLString::null);
306 childSetText("xml_name",view->getName()); 309 childSetText("xml_name",view->getName());
307} 310}
308 311