X-Git-Url: http://git.maemo.org/git/?p=speedfreak;a=blobdiff_plain;f=Client%2Fcarmainwindow.cpp;h=807159fd6a66cdda8365985cd7e0a634b657ef28;hp=1d17649d807d91f48f82885362671b271404c0db;hb=d359e4d19b1a1cb68b8f602f243c68739e09a04c;hpb=8cd1d43340327e94690cb13de6bb2dbef00c9ec0 diff --git a/Client/carmainwindow.cpp b/Client/carmainwindow.cpp index 1d17649..807159f 100644 --- a/Client/carmainwindow.cpp +++ b/Client/carmainwindow.cpp @@ -19,6 +19,7 @@ CarMainWindow::CarMainWindow(QWidget *parent):QMainWindow(parent), ui(new Ui::CarMainWindow) { ui->setupUi(this); + ui->tabWidget->setCurrentWidget(this->ui->StartTab); //result = new ResultDialog(); //measure = new MeasureDialog(); xmlreader = new XmlReader(); @@ -202,6 +203,7 @@ void CarMainWindow::openResultView() //result->saveMeasuresToArray(measure->measures); // Show result dialog. //result->show(); + ui->pushButtonSendResult->setEnabled(true); QString timeInteger; timeInteger.setNum(this->measures->getTime40kmh()); //time = "0 - 40 km/h: "; @@ -571,7 +573,7 @@ void CarMainWindow::on_pushButtonMeasureTabAbort_clicked() void CarMainWindow::on_pushButtonSendResult_clicked() { sendXml(); - + ui->pushButtonSendResult->setEnabled(false); } void CarMainWindow::updateUserName()