Commit cd7c2ca1 authored by ck's avatar ck

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

parent cd987901
......@@ -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();
}
......
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