mirror of
https://github.com/KDE/latte-dock.git
synced 2025-01-22 18:03:54 +03:00
delete secondary window when no needed
BUG: 402627
This commit is contained in:
parent
ca5ea55816
commit
e19cbd46f6
@ -165,9 +165,7 @@ void PrimaryConfigView::createSecondaryWindow()
|
||||
void PrimaryConfigView::deleteSecondaryWindow()
|
||||
{
|
||||
if (m_secConfigView) {
|
||||
auto secConfig = m_secConfigView;
|
||||
m_secConfigView = nullptr;
|
||||
secConfig->hideConfigWindow();
|
||||
m_secConfigView->deleteLater();
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user