mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-07 02:35:33 +08:00
Another fix for "dialog closing closes swift",
see https://discordapp.com/channels/539048679160676382/567139633964646411/620776182027386880 The signal for the navigator dialog closed is not send or received in some cases, not clear why. Using a reference directly to the main window as workaround.
This commit is contained in:
committed by
Mat Sutcliffe
parent
af1b933e5c
commit
4fc151f4cb
@@ -228,6 +228,7 @@ void SwiftGuiStd::initGuiSignals()
|
||||
connect(ui->menu_ModelBrowser, &QAction::triggered, this, &SwiftGuiStd::startModelBrowser, Qt::QueuedConnection);
|
||||
|
||||
connect(m_navigator.data(), &CNavigatorDialog::navigatorClosed, this, &SwiftGuiStd::onNavigatorClosed, Qt::QueuedConnection);
|
||||
m_navigator->setMainWindow(this);
|
||||
|
||||
// settings (GUI component), styles
|
||||
connect(ui->comp_MainInfoArea->getSettingsComponent(), &CSettingsComponent::changedWindowsOpacity, this, &SwiftGuiStd::onChangedWindowOpacity);
|
||||
|
||||
Reference in New Issue
Block a user