diff --git a/src/qml/EnterKey.qml b/src/qml/EnterKey.qml index 84a8c2a..8d3162c 100644 --- a/src/qml/EnterKey.qml +++ b/src/qml/EnterKey.qml @@ -9,6 +9,6 @@ Key { btnText: "\n" btnDisplayedText: InputPanel.enterIcon === "" ? "Enter" : "" btnIcon: InputPanel.enterIcon === "" ? "" : InputPanel.enterIcon - enabled: InputContext.inputItem?.EnterKeyAction.enabled ?? true + enabled: InputContext.inputItem ? InputContext.inputItem.EnterKeyAction.enabled : true opacity: enabled ? 1 : 0.5 }