aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/newview/llpanelgeneral.cpp
diff options
context:
space:
mode:
authorMcCabe Maxsted2009-09-29 23:18:29 -0700
committerMcCabe Maxsted2009-09-29 23:22:36 -0700
commit3160877cbec672f0bc819afb111173c67a8c612b (patch)
tree6ce1ed3e725a5a721c25b52ea372631a6117a067 /linden/indra/newview/llpanelgeneral.cpp
parentRenamed preferences checkbox to 'show WindLight toolbar,' removed reference t... (diff)
downloadmeta-impy-3160877cbec672f0bc819afb111173c67a8c612b.zip
meta-impy-3160877cbec672f0bc819afb111173c67a8c612b.tar.gz
meta-impy-3160877cbec672f0bc819afb111173c67a8c612b.tar.bz2
meta-impy-3160877cbec672f0bc819afb111173c67a8c612b.tar.xz
Fixed reset UI size to default button missing from preferences > general (regression). Changed incremets to 0.001 to be more Liberation Sans-friendly
Diffstat (limited to 'linden/indra/newview/llpanelgeneral.cpp')
-rw-r--r--linden/indra/newview/llpanelgeneral.cpp9
1 files changed, 9 insertions, 0 deletions
diff --git a/linden/indra/newview/llpanelgeneral.cpp b/linden/indra/newview/llpanelgeneral.cpp
index 490e40d..e416401 100644
--- a/linden/indra/newview/llpanelgeneral.cpp
+++ b/linden/indra/newview/llpanelgeneral.cpp
@@ -74,6 +74,8 @@ BOOL LLPanelGeneral::postBuild()
74 74
75 childSetValue("language_combobox", gSavedSettings.getString("Language")); 75 childSetValue("language_combobox", gSavedSettings.getString("Language"));
76 76
77 childSetAction("reset_ui_size", onClickResetUISize, this);
78
77 return TRUE; 79 return TRUE;
78} 80}
79 81
@@ -112,3 +114,10 @@ void LLPanelGeneral::apply()
112void LLPanelGeneral::cancel() 114void LLPanelGeneral::cancel()
113{ 115{
114} 116}
117
118// static
119void LLPanelGeneral::onClickResetUISize(void* user_data)
120{
121 LLPanelGeneral* self = (LLPanelGeneral*)user_data;
122 self->childSetValue("ui_scale_slider", 1.0f);
123}