Skip to content

Commit

Permalink
fix: Typo on enabling enter key
Browse files Browse the repository at this point in the history
The enter key will be enabled depending on the value of `InputContext.inputItem.EnterKeyAction.enabled`.
  • Loading branch information
EddyTheCo authored and AndreaRicchi committed Apr 8, 2024
1 parent adfa633 commit 76db0aa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/qml/EnterKey.qml
Original file line number Diff line number Diff line change
Expand Up @@ -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
}

0 comments on commit 76db0aa

Please sign in to comment.