dont close settings windows with no reason

--there were cases that the focusOutEvent from
secondary config window was sent before the
primary config window has become active. In that
case all config windows were closing with no
reason

BUG: 402776
pull/4/head
Michail Vourlakos 6 years ago
parent 532dc087ad
commit 42f6bef738

@ -201,6 +201,10 @@ void SecondaryConfigView::syncGeometry()
if (m_shellSurface) {
m_shellSurface->setPosition(position);
}
//! after placement request to activate the main config window in order to avoid
//! rare cases of closing settings window from secondaryConfigView->focusOutEvent
m_parent->requestActivate();
}
void SecondaryConfigView::syncSlideEffect()

Loading…
Cancel
Save