-rw-r--r-- | noncore/apps/opie-console/modemconfigwidget.cpp | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/noncore/apps/opie-console/modemconfigwidget.cpp b/noncore/apps/opie-console/modemconfigwidget.cpp index 878b0cf..c0ab0fc 100644 --- a/noncore/apps/opie-console/modemconfigwidget.cpp +++ b/noncore/apps/opie-console/modemconfigwidget.cpp @@ -174,15 +174,18 @@ void ModemConfigWidget::save( Profile& prof ) { prof.writeEntry( "Flow", flow ); prof.writeEntry( "Parity", parity ); prof.writeEntry( "Speed", speed ); prof.writeEntry( "Number", m_telNumber->text() ); + + + atConf->writeConfig(prof); } void ModemConfigWidget::slotAT() { // ATConfigDialog conf( this, "ATConfig", true ); atConf->showMaximized(); - if ( atConf->exec() == QDialog::Accepted ) { - // atConf->writeConfig(); + if ( atConf->exec() != QDialog::Accepted ) { + // reload old settings } } void ModemConfigWidget::slotDial() { |