This commit is contained in:
Inusaito Sayori
2014-06-14 16:26:29 -04:00
parent 7ea7d4cf6c
commit 576069a84d
2 changed files with 3 additions and 3 deletions

View File

@@ -1136,9 +1136,9 @@ void LLPanelLogin::confirmDelete()
LLNotificationsUtil::add("ConfirmDeleteUser", LLSD(), LLSD(), boost::bind(&LLPanelLogin::removeLogin, this, boost::bind(LLNotificationsUtil::getSelectedOption, _1, _2)));
}
void LLPanelLogin::removeLogin(bool not)
void LLPanelLogin::removeLogin(bool knot)
{
if (not) return;
if (knot) return;
LLComboBox* combo(getChild<LLComboBox>("username_combo"));
const std::string label(combo->getTextEntry());
if (combo->isTextDirty() || !combo->itemExists(label)) return; // Text entries aren't in the list

View File

@@ -119,7 +119,7 @@ private:
static void onNameCheckChanged(LLUICtrl* ctrl, void* data);
static void clearPassword();
void confirmDelete();
void removeLogin(bool not);
void removeLogin(bool knot);
public: