update opaque, fix inputbox enterkey on android
the build was successful
Details
the build was successful
Details
This commit is contained in:
parent
f8d3277a6f
commit
7485837669
|
@ -1 +1 @@
|
||||||
Subproject commit dab30aa1643cf21cd2c0bd6928a2edbf0952cffa
|
Subproject commit a9d5302d150b942998050aa04abf978993f7c641
|
|
@ -117,8 +117,10 @@ ColumnLayout {
|
||||||
property bool skipOneUpdate: false
|
property bool skipOneUpdate: false
|
||||||
property int previousCursor
|
property int previousCursor
|
||||||
|
|
||||||
Keys.onReturnPressed: { // CTRL+ENTER = LINEBREAK // TODO: Broken
|
Keys.onReturnPressed: {
|
||||||
if ((event.modifiers & Qt.ShiftModifier) && gcd.os != "android") {
|
if (gcd.os == "android") return
|
||||||
|
|
||||||
|
if (event.modifiers & Qt.ShiftModifier) {
|
||||||
txtMessage.insert(txtMessage.cursorPosition, "\n")
|
txtMessage.insert(txtMessage.cursorPosition, "\n")
|
||||||
} else if (event.modifiers == Qt.NoModifier) {
|
} else if (event.modifiers == Qt.NoModifier) {
|
||||||
btnSend.clicked()
|
btnSend.clicked()
|
||||||
|
|
Reference in New Issue