diff --git a/ground/openpilotgcs/src/plugins/setupwizard/pages/levellingpage.cpp b/ground/openpilotgcs/src/plugins/setupwizard/pages/levellingpage.cpp index a00959522..28dac7c33 100644 --- a/ground/openpilotgcs/src/plugins/setupwizard/pages/levellingpage.cpp +++ b/ground/openpilotgcs/src/plugins/setupwizard/pages/levellingpage.cpp @@ -80,6 +80,8 @@ void LevellingPage::performLevelling() } enableButtons(false); + ui->progressLabel->setText(QString(tr("Retrieving data..."))); + if(!m_levellingUtil) { @@ -128,6 +130,7 @@ void LevellingPage::stopLevelling() disconnect(m_levellingUtil, SIGNAL(progress(long,long)), this, SLOT(levellingProgress(long,long))); disconnect(m_levellingUtil, SIGNAL(done(accelGyroBias)), this, SLOT(levellingDone(accelGyroBias))); disconnect(m_levellingUtil, SIGNAL(timeout(QString)), this, SLOT(levellingTimeout(QString))); + ui->progressLabel->setText(QString(tr("Done!"))); enableButtons(true); } } diff --git a/ground/openpilotgcs/src/plugins/setupwizard/pages/levellingpage.ui b/ground/openpilotgcs/src/plugins/setupwizard/pages/levellingpage.ui index 77152f792..dae71e6b7 100644 --- a/ground/openpilotgcs/src/plugins/setupwizard/pages/levellingpage.ui +++ b/ground/openpilotgcs/src/plugins/setupwizard/pages/levellingpage.ui @@ -44,7 +44,7 @@ p, li { white-space: pre-wrap; } 200 - 270 + 260 200 70 @@ -98,6 +98,24 @@ QProgressBar::chunk { + + + + 42 + 330 + 511 + 16 + + + + + 10 + + + + + +