Recalculate minimum frequency afer loading presets
authorDaniel Klaffenbach <danielklaffenbach@gmail.com>
Mon, 27 Dec 2010 11:52:41 +0000 (12:52 +0100)
committerDaniel Klaffenbach <danielklaffenbach@gmail.com>
Mon, 27 Dec 2010 11:52:41 +0000 (12:52 +0100)
The minimum frequency could change after loading presets - recalculate
it.

src/mainwindow.cpp

index cf21237..0b42260 100644 (file)
@@ -417,6 +417,7 @@ void MainWindow::loadPreset(QString presetName)
 {
     #if defined(Q_WS_MAEMO_5)
         callHelper("loadpreset", presetName);
+        calculateMinFreq();
         QMaemo5InformationBox::information(this, tr( "The preset was loaded." ), QMaemo5InformationBox::DefaultTimeout);
     #endif
 }