-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 ) { | |||
174 | prof.writeEntry( "Flow", flow ); | 174 | prof.writeEntry( "Flow", flow ); |
175 | prof.writeEntry( "Parity", parity ); | 175 | prof.writeEntry( "Parity", parity ); |
176 | prof.writeEntry( "Speed", speed ); | 176 | prof.writeEntry( "Speed", speed ); |
177 | prof.writeEntry( "Number", m_telNumber->text() ); | 177 | prof.writeEntry( "Number", m_telNumber->text() ); |
178 | |||
179 | |||
180 | atConf->writeConfig(prof); | ||
178 | } | 181 | } |
179 | 182 | ||
180 | void ModemConfigWidget::slotAT() { | 183 | void ModemConfigWidget::slotAT() { |
181 | // ATConfigDialog conf( this, "ATConfig", true ); | 184 | // ATConfigDialog conf( this, "ATConfig", true ); |
182 | atConf->showMaximized(); | 185 | atConf->showMaximized(); |
183 | if ( atConf->exec() == QDialog::Accepted ) { | 186 | if ( atConf->exec() != QDialog::Accepted ) { |
184 | // atConf->writeConfig(); | 187 | // reload old settings |
185 | } | 188 | } |
186 | } | 189 | } |
187 | 190 | ||
188 | void ModemConfigWidget::slotDial() { | 191 | void ModemConfigWidget::slotDial() { |