mirror of
https://github.com/overte-org/overte.git
synced 2025-04-21 18:44:00 +02:00
Make clicking on dialog background defocus current control
This commit is contained in:
parent
9e458fd180
commit
7efda8bead
1 changed files with 6 additions and 0 deletions
|
@ -117,6 +117,12 @@ TabletModalWindow {
|
|||
horizontalCenter: parent.horizontalCenter
|
||||
}
|
||||
|
||||
MouseArea {
|
||||
// Clicking dialog background defocuses active control.
|
||||
anchors.fill: parent
|
||||
onClicked: parent.forceActiveFocus();
|
||||
}
|
||||
|
||||
QtObject {
|
||||
id: d;
|
||||
readonly property int minWidth: 470
|
||||
|
|
Loading…
Reference in a new issue