Commit 473fadaa authored by Lamarque Souza's avatar Lamarque Souza
Browse files

Do not insert wep key incorrectly, instead replace on Edit.

Thanks Rajeesh K Nambiar for this patch.

CCBUG: 276486
parent 85ca7aeb
......@@ -155,7 +155,7 @@ void WepWidget::readConfig()
void WepWidget::writeConfig()
{
d->keys.insert(d->ui.weptxkeyindex->currentIndex(), d->ui.key->text());
d->keys[d->ui.weptxkeyindex->currentIndex()] = d->ui.key->text();
d->setting->setWeptxkeyindex(d->ui.weptxkeyindex->currentIndex());
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment