mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-03-30 20:15:35 +08:00
Ref T420, trigger logoff countdown when simulator is no longer vital
This commit is contained in:
@@ -245,9 +245,15 @@ void SwiftGuiStd::initGuiSignals()
|
||||
connect(ui->comp_Login, &CLoginComponent::loginDataChangedDigest, ui->comp_MainInfoArea->getFlightPlanComponent(), &CFlightPlanComponent::loginDataSet);
|
||||
connect(ui->comp_Login, &CLoginComponent::requestNetworkSettings, [ this ]()
|
||||
{
|
||||
if (!sApp || sApp->isShuttingDown()) { return; }
|
||||
this->setMainPageInfoArea(CMainInfoAreaComponent::InfoAreaSettings);
|
||||
ui->comp_MainInfoArea->getSettingsComponent()->setTab(CSettingsComponent::SettingTabServers);
|
||||
});
|
||||
connect(ui->comp_Login, &CLoginComponent::requestLoginPage, [ this ]()
|
||||
{
|
||||
if (!sApp || sApp->isShuttingDown()) { return; }
|
||||
ui->sw_MainMiddle->setCurrentIndex(MainPageLogin);
|
||||
});
|
||||
connect(this, &SwiftGuiStd::currentMainInfoAreaChanged, ui->comp_Login, &CLoginComponent::mainInfoAreaChanged);
|
||||
|
||||
// text messages
|
||||
|
||||
Reference in New Issue
Block a user