mirror of
https://github.com/AvengeMedia/DankMaterialShell.git
synced 2026-08-05 21:18:30 -04:00
popout: guard against bad state and reset input method on close
port 1.5
This commit is contained in:
@@ -923,6 +923,13 @@ Item {
|
||||
visible: false
|
||||
color: "transparent"
|
||||
|
||||
onVisibleChanged: {
|
||||
if (visible || !Qt.inputMethod)
|
||||
return;
|
||||
Qt.inputMethod.hide();
|
||||
Qt.inputMethod.reset();
|
||||
}
|
||||
|
||||
PopoutHoverDismiss {
|
||||
id: hoverDismissController
|
||||
anchors.fill: parent
|
||||
|
||||
Reference in New Issue
Block a user