Improved kill button handling, now it can be set even if frame is not yet initialized

* default is disabled
* only pilot client needs to enable it
This commit is contained in:
Klaus Basan
2017-03-07 22:46:58 +01:00
committed by Mathew Sutcliffe
parent 0851b8c994
commit 83383f438c
4 changed files with 8 additions and 5 deletions

View File

@@ -145,6 +145,9 @@ void SwiftGuiStd::init()
ui->comp_MainInfoArea->getLogComponent()->appendPlainTextToConsole(sGui->swiftVersionString());
ui->comp_MainInfoArea->getLogComponent()->appendPlainTextToConsole(CBuildConfig::compiledWithInfo());
// Show kill button
ui->fr_CentralFrameInside->showKillButton(true);
// do this as last statement, so it can be used as flag
// whether init has been completed
this->setVisible(true);