mirror of
https://bitbucket.org/librepilot/librepilot.git
synced 2025-02-20 10:54:14 +01:00
GCS-Ensure wizard is top window
This commit is contained in:
parent
0559c90689
commit
2b48cf3d90
@ -86,6 +86,7 @@ void SetupWizardPlugin::showSetupWizard()
|
|||||||
SetupWizard *m_wiz = new SetupWizard();
|
SetupWizard *m_wiz = new SetupWizard();
|
||||||
connect(m_wiz, SIGNAL(finished(int)), this, SLOT(wizardTerminated()));
|
connect(m_wiz, SIGNAL(finished(int)), this, SLOT(wizardTerminated()));
|
||||||
m_wiz->setAttribute( Qt::WA_DeleteOnClose, true );
|
m_wiz->setAttribute( Qt::WA_DeleteOnClose, true );
|
||||||
|
m_wiz->setWindowFlags(m_wiz->windowFlags() | Qt::WindowStaysOnTopHint);
|
||||||
m_wiz->show();
|
m_wiz->show();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user