mirror of
https://github.com/zoriya/noctalia-shell.git
synced 2026-05-29 17:12:04 +00:00
NInputButton properly uses NTextInput
This commit is contained in:
@@ -54,14 +54,6 @@ ColumnLayout {
|
||||
}
|
||||
}
|
||||
|
||||
// Block mouse events from going through
|
||||
MouseArea {
|
||||
anchors.fill: parent
|
||||
z: -1 // Place behind the TextField
|
||||
acceptedButtons: Qt.AllButtons
|
||||
propagateComposedEvents: false
|
||||
}
|
||||
|
||||
TextField {
|
||||
id: input
|
||||
|
||||
@@ -92,5 +84,13 @@ ColumnLayout {
|
||||
|
||||
onEditingFinished: root.editingFinished()
|
||||
}
|
||||
|
||||
// Block mouse events from going through to components behind this one
|
||||
MouseArea {
|
||||
anchors.fill: parent
|
||||
z: -1 // Place behind the TextField
|
||||
acceptedButtons: Qt.AllButtons
|
||||
propagateComposedEvents: false
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user