1
0
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:
Michail Vourlakos 2019-03-09 19:56:57 +02:00
parent c35849c9d8
commit e9e0c04198

View File

@ -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();
}
}
}