mirror of
https://github.com/AvengeMedia/DankMaterialShell.git
synced 2026-08-05 13:08:29 -04:00
lock: guard dpms window
This commit is contained in:
@@ -27,11 +27,14 @@ Item {
|
||||
function hide() {
|
||||
if (isKeyboardActive && keyboard !== null) {
|
||||
keyboard.destroy();
|
||||
keyboard = null;
|
||||
isKeyboardActive = false;
|
||||
} else
|
||||
log.debug("The keyboard is already hidden");
|
||||
}
|
||||
|
||||
Component.onDestruction: hide()
|
||||
|
||||
// private
|
||||
property Item keyboard: null
|
||||
Component {
|
||||
|
||||
Reference in New Issue
Block a user