mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-17 02:45:33 +08:00
Ref T447, when "on top" is selected trigger follow up actions
This commit is contained in:
@@ -368,6 +368,15 @@ void SwiftGuiStd::onStyleSheetsChanged()
|
||||
this->initStyleSheet();
|
||||
}
|
||||
|
||||
void SwiftGuiStd::onToggledWindowsOnTop(bool onTop)
|
||||
{
|
||||
if (onTop)
|
||||
{
|
||||
if (m_navigator) { m_navigator->showNavigator(true); }
|
||||
ui->comp_MainInfoArea->allFloatingOnTop();
|
||||
}
|
||||
}
|
||||
|
||||
void SwiftGuiStd::onCurrentMainWidgetChanged(int currentIndex)
|
||||
{
|
||||
emit this->currentMainInfoAreaChanged(ui->sw_MainMiddle->currentWidget());
|
||||
@@ -390,9 +399,9 @@ void SwiftGuiStd::showNormal()
|
||||
this->showNormalModeChecked();
|
||||
}
|
||||
|
||||
void SwiftGuiStd::navigatorClosed()
|
||||
void SwiftGuiStd::onNavigatorClosed()
|
||||
{
|
||||
this->showNormal();
|
||||
// this->showNormal();
|
||||
}
|
||||
|
||||
void SwiftGuiStd::verifyPrerequisites()
|
||||
@@ -411,14 +420,8 @@ void SwiftGuiStd::verifyPrerequisites()
|
||||
|
||||
if (msgs.hasWarningOrErrorMessages())
|
||||
{
|
||||
if (msgs.size() > 1)
|
||||
{
|
||||
this->displayInOverlayWindow(msgs);
|
||||
}
|
||||
else
|
||||
{
|
||||
this->displayInOverlayWindow(msgs.front());
|
||||
}
|
||||
if (msgs.size() > 1) { this->displayInOverlayWindow(msgs); }
|
||||
else { this->displayInOverlayWindow(msgs.front()); }
|
||||
}
|
||||
|
||||
this->copyXSwiftBusDialog(true);
|
||||
|
||||
Reference in New Issue
Block a user