Fix missing argument signal in qml
This commit is contained in:
committed by
Tobias Fella
parent
23178b6224
commit
dfba655527
@@ -51,7 +51,7 @@ QQC2.TextArea {
|
||||
completionMenu.complete()
|
||||
}
|
||||
}
|
||||
Keys.onPressed: {
|
||||
Keys.onPressed: event => {
|
||||
if (event.key === Qt.Key_Up && completionMenu.visible) {
|
||||
completionMenu.decrementIndex()
|
||||
} else if (event.key === Qt.Key_Down && completionMenu.visible) {
|
||||
|
||||
@@ -159,7 +159,7 @@ Kirigami.Page {
|
||||
}
|
||||
}
|
||||
|
||||
Keys.onPressed: {
|
||||
Keys.onPressed: event => {
|
||||
if (!(event.modifiers & Qt.ControlModifier) && event.key < Qt.Key_Escape) {
|
||||
event.accepted = true;
|
||||
chatBoxLoader.item.insertText(event.text);
|
||||
|
||||
@@ -82,6 +82,6 @@ ColumnLayout {
|
||||
readonly property var replaceLinks: /(http[s]?:\/\/[^ \r\n]*)/g
|
||||
textFormat: TextEdit.MarkdownText
|
||||
wrapMode: Text.Wrap
|
||||
onLinkActivated: UrlHelper.openUrl(link)
|
||||
onLinkActivated: link => UrlHelper.openUrl(link)
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user