Removed a bunch of calls on the UI handlers that were creating listens for events that could never happen due to lacking the actual UI element. Also changed the posestand submenu to follow LL naming procedures.
Signed-off-by: Beeks <HgDelirium@gmail.com>
This commit is contained in:
@@ -331,7 +331,7 @@ BOOL LLPanelLandGeneral::postBuild()
|
||||
mEditDesc = getChild<LLTextEditor>("Description");
|
||||
mEditDesc->setCommitOnFocusLost(TRUE);
|
||||
mEditDesc->setCommitCallback(onCommitAny);
|
||||
childSetPrevalidate("Description", LLLineEditor::prevalidatePrintableNotPipe);
|
||||
//childSetPrevalidate("Description", LLLineEditor::prevalidatePrintableNotPipe); Making Dummy View -HgB
|
||||
childSetUserData("Description", this);
|
||||
|
||||
|
||||
|
||||
@@ -124,8 +124,8 @@ BOOL LLPanelLandMedia::postBuild()
|
||||
childSetCommitCallback("media_size_height", onCommitAny, this);
|
||||
mMediaSizeCtrlLabel = getChild<LLTextBox>("media_size");
|
||||
|
||||
mMediaNavigateAllowCheck = getChild<LLCheckBoxCtrl>("check navigate allow");
|
||||
childSetCommitCallback("check navigate allow", onCommitAny, this);
|
||||
/*mMediaNavigateAllowCheck = getChild<LLCheckBoxCtrl>("check navigate allow"); Making Dummy View -HgB
|
||||
childSetCommitCallback("check navigate allow", onCommitAny, this);*/
|
||||
mMediaURLFilterCheck = getChild<LLCheckBoxCtrl>("check navigate filter");
|
||||
childSetCommitCallback("check navigate filter", onCommitAny, this);
|
||||
|
||||
|
||||
@@ -239,7 +239,7 @@ void LLPanelNetwork::updateProxyEnabled(LLPanelNetwork * self, bool enabled, std
|
||||
self->childSetEnabled("socks5_proxy_port", enabled);
|
||||
self->childSetEnabled("socks5_proxy_host", enabled);
|
||||
self->childSetEnabled("socks5_host_label", enabled);
|
||||
self->childSetEnabled("socks5_proxy_label", enabled);
|
||||
//self->childSetEnabled("socks5_proxy_label", enabled); Making Dummy View -HgB
|
||||
self->childSetEnabled("socks5_proxy_port", enabled);
|
||||
self->childSetEnabled("socks5_auth_label", enabled);
|
||||
self->childSetEnabled("socks5_auth", enabled);
|
||||
|
||||
@@ -175,7 +175,7 @@ void LLPrefsVoice::onCommitEnableVoiceChat(LLUICtrl* ctrl, void* user_data)
|
||||
bool enable = enable_voice_chat->getValue();
|
||||
|
||||
self->childSetEnabled("modifier_combo", enable);
|
||||
self->childSetEnabled("friends_only_check", enable);
|
||||
//self->childSetEnabled("friends_only_check", enable);
|
||||
self->childSetEnabled("push_to_talk_label", enable);
|
||||
self->childSetEnabled("voice_call_friends_only_check", enable);
|
||||
self->childSetEnabled("auto_disengage_mic_check", enable);
|
||||
|
||||
@@ -784,7 +784,7 @@ void init_menus()
|
||||
|
||||
// <dogmode>
|
||||
// Add in the pose stand -------------------------------------------
|
||||
LLMenuGL* sub = new LLMenuGL("Pose Stand");
|
||||
LLMenuGL* sub = new LLMenuGL("Pose Stand...");
|
||||
menu->appendMenu(sub);
|
||||
|
||||
sub->append(new LLMenuItemCallGL( "Legs Together Arms Out", &handle_pose_stand_ltao, NULL));
|
||||
@@ -1432,7 +1432,7 @@ void init_debug_rendering_menu(LLMenuGL* menu)
|
||||
|
||||
menu->appendSeparator();
|
||||
menu->append(new LLMenuItemCheckGL("Axes", menu_toggle_control, NULL, menu_check_control, (void*)"ShowAxes"));
|
||||
// menu->append(new LLMenuItemCheckGL("Cull Small Objects", toggle_cull_small, NULL, menu_check_control, (void*)"RenderCullBySize"));
|
||||
//menu->append(new LLMenuItemCheckGL("Cull Small Objects", toggle_cull_small, NULL, menu_check_control, (void*)"RenderCullBySize"));
|
||||
|
||||
menu->appendSeparator();
|
||||
menu->append(new LLMenuItemToggleGL("Hide Selected", &gHideSelectedObjects));
|
||||
|
||||
Reference in New Issue
Block a user