Commit fc9fd194 authored by Lamarque Souza's avatar Lamarque Souza
Browse files

Show APN string for the APN seleted by the user in Mobile Connection

Wizard.
Thanks Swami Dhyan Nataraj (Nikolay Shaplov) for this patch.

BUG: 291798
parent d395cfe7
......@@ -531,8 +531,10 @@ void MobileConnectionWizard::slotEnablePlanEditBox(const QString & text)
userApn->setEnabled(true);
} else {
if (mProvidersList->currentItem() != 0) {
int i = mPlanComboBox->currentIndex();
if (i>0) i=i-1; // Skiping the separator (i==1)
QStringList mApns = mProviders->getApns(mProvidersList->currentItem()->text());
userApn->setText(mApns.at(0));
userApn->setText(mApns.at(i));
}
userApn->setEnabled(false);
}
......
Supports Markdown
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