Fix crash on closing
Test Plan: Start in windowed mode, close. Doesn't crash anymore. Reviewers: #plasma, #kwin, mart Reviewed By: #plasma, #kwin, mart Subscribers: kwin Tags: #kwin Differential Revision: https://phabricator.kde.org/D19919
This commit is contained in:
parent
ba22fe0d43
commit
1f3fd63790
1 changed files with 1 additions and 1 deletions
|
@ -243,7 +243,7 @@ void VirtualKeyboard::updateInputPanelState()
|
|||
|
||||
auto t = waylandServer()->seat()->focusedTextInput();
|
||||
|
||||
if (!t) {
|
||||
if (!t || !m_inputWindow) {
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue