parent
4c14a24960
commit
8d5072533f
1 changed files with 2 additions and 4 deletions
|
|
@ -1,11 +1,9 @@
|
|||
import QtQuick 2.0
|
||||
import QtQuick.Controls 2.3
|
||||
import QtQuick.Controls 2.5
|
||||
|
||||
Dialog {
|
||||
modal: true
|
||||
|
||||
x: Math.round((parent.width - width) / 2)
|
||||
y: Math.round((parent.height - height) / 2)
|
||||
anchors.centerIn: Overlay.overlay
|
||||
|
||||
onClosed: {
|
||||
// We must force focus back to the last item. If we don't,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue