SL-9699 Updated tooltip and initial checkbox value

master
andreykproductengine 2019-11-12 11:45:39 +02:00
parent f13cc44f89
commit ac0bbba7a5
3 changed files with 4 additions and 3 deletions

View File

@ -99,7 +99,9 @@ BOOL LLFloaterForgetUser::postBuild()
}
bool enable_button = scroll_list->getFirstSelectedIndex() != -1;
getChild<LLView>("delete_data")->setEnabled(enable_button);
LLCheckBoxCtrl *chk_box = getChild<LLCheckBoxCtrl>("delete_data");
chk_box->setEnabled(enable_button);
chk_box->set(FALSE);
LLButton *button = getChild<LLButton>("forget");
button->setEnabled(enable_button);
button->setCommitCallback(boost::bind(&LLFloaterForgetUser::onForgetClicked, this));

View File

@ -35,6 +35,5 @@
name="delete_data"
top_pad="5"
width="260"
initial_value="1"
tool_tip="Deletes local files: chat history, last session screenshot, browser cookies, teleport history, toolbar settings, e t c"/>
</floater>

View File

@ -137,7 +137,7 @@
label="Remember me"
check_button.bottom="3"
name="remember_name"
tool_tip="Already recorded user can be forgotten from preferences."
tool_tip="Already remembered user can be forgotten from Me &gt; Preferences &gt; Advanced &gt; Remembered Usernames."
width="145" />
<check_box
control_name="RememberPassword"