Skip to content
Snippets Groups Projects
Commit cd7c2ca1 authored by ck's avatar ck
Browse files

Maemo: Fix config name change getting lost in settings widget.

parent cd987901
No related branches found
No related tags found
No related merge requests found
......@@ -251,6 +251,7 @@ void MaemoSettingsWidget::configNameEditingFinished()
void MaemoSettingsWidget::deviceTypeChanged()
{
const QString name = currentConfig().name;
const MaemoDeviceConfig::DeviceType devType =
m_ui->deviceButton->isChecked()
? MaemoDeviceConfig::Physical
......@@ -263,6 +264,7 @@ void MaemoSettingsWidget::deviceTypeChanged()
m_lastConfigSim = currentConfig();
currentConfig() = m_lastConfigHW;
}
currentConfig().name = name;
fillInValues();
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment