diff options
author | McCabe Maxsted | 2009-09-29 23:18:29 -0700 |
---|---|---|
committer | McCabe Maxsted | 2009-09-29 23:22:36 -0700 |
commit | 3160877cbec672f0bc819afb111173c67a8c612b (patch) | |
tree | 6ce1ed3e725a5a721c25b52ea372631a6117a067 /linden/indra/newview/llpanelgeneral.cpp | |
parent | Renamed preferences checkbox to 'show WindLight toolbar,' removed reference t... (diff) | |
download | meta-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.cpp | 9 |
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() | |||
112 | void LLPanelGeneral::cancel() | 114 | void LLPanelGeneral::cancel() |
113 | { | 115 | { |
114 | } | 116 | } |
117 | |||
118 | // static | ||
119 | void LLPanelGeneral::onClickResetUISize(void* user_data) | ||
120 | { | ||
121 | LLPanelGeneral* self = (LLPanelGeneral*)user_data; | ||
122 | self->childSetValue("ui_scale_slider", 1.0f); | ||
123 | } | ||