]> git.mxchange.org Git - flightgear.git/commitdiff
Hide add-ons tab when running launcher in-app
authorJames Turner <zakalawe@mac.com>
Wed, 8 Jun 2016 11:00:35 +0000 (12:00 +0100)
committerRoland Haeder <roland@mxchange.org>
Thu, 22 Sep 2016 21:27:36 +0000 (23:27 +0200)
src/GUI/QtLauncher.cxx

index fff547b3af27759852d7694eb38c61bf4409792b..8e74eb25795c1d970b94fb4da71ce009ae575aea 100644 (file)
@@ -664,6 +664,8 @@ void QtLauncher::setInAppMode()
 {
   m_inAppMode = true;
   m_ui->tabWidget->removeTab(2);
+  m_ui->tabWidget->removeTab(2);
+
   m_ui->runButton->setText(tr("Apply"));
   m_ui->quitButton->setText(tr("Cancel"));