mirror of
https://github.com/KDE/latte-dock.git
synced 2025-03-13 04:58:18 +03:00
fix wayland crash when hiding config window
This commit is contained in:
parent
c35849c9d8
commit
e9e0c04198
@ -857,7 +857,11 @@ void View::configViewCreated(QQuickView *configView)
|
||||
//! for each layout only one dock should show its configuration windows
|
||||
//! otherwise we could reach a point that because a settings window
|
||||
//! is below another Latte View its options are not reachable
|
||||
m_configView->deleteLater();
|
||||
auto configDialog = qobject_cast<ViewPart::PrimaryConfigView *>(m_configView);
|
||||
|
||||
if (configDialog) {
|
||||
configDialog->hideConfigWindow();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user