inputmethod: reset m_shouldShowPanel when the tracked window changes
This commit is contained in:
parent
75806ecff5
commit
f43c39879d
1 changed files with 1 additions and 0 deletions
|
@ -251,6 +251,7 @@ void InputMethod::setTrackedWindow(Window *trackedWindow)
|
|||
disconnect(m_trackedWindow, &Window::frameGeometryChanged, this, &InputMethod::updateInputPanelState);
|
||||
}
|
||||
m_trackedWindow = trackedWindow;
|
||||
m_shouldShowPanel = false;
|
||||
if (m_trackedWindow) {
|
||||
connect(m_trackedWindow, &Window::frameGeometryChanged, this, &InputMethod::updateInputPanelState, Qt::QueuedConnection);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue