From: James Turner Date: Wed, 8 Jun 2016 11:00:35 +0000 (+0100) Subject: Hide add-ons tab when running launcher in-app X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=03ed725a97359a23cd3e1f7a7c86e0d8dfd6b3e9;p=flightgear.git Hide add-ons tab when running launcher in-app --- diff --git a/src/GUI/QtLauncher.cxx b/src/GUI/QtLauncher.cxx index fff547b3a..8e74eb257 100644 --- a/src/GUI/QtLauncher.cxx +++ b/src/GUI/QtLauncher.cxx @@ -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"));