mirror of
https://github.com/monero-project/monero-gui.git
synced 2025-01-09 19:32:03 +02:00
dialogs: fix titlebar disabledness
This commit is contained in:
parent
97cd215491
commit
b74aa1a585
@ -82,15 +82,6 @@ Item {
|
|||||||
width: 480
|
width: 480
|
||||||
height: 360
|
height: 360
|
||||||
|
|
||||||
// Make window draggable
|
|
||||||
MouseArea {
|
|
||||||
anchors.fill: parent
|
|
||||||
property point lastMousePos: Qt.point(0, 0)
|
|
||||||
onPressed: { lastMousePos = Qt.point(mouseX, mouseY); }
|
|
||||||
onMouseXChanged: root.x += (mouseX - lastMousePos.x)
|
|
||||||
onMouseYChanged: root.y += (mouseY - lastMousePos.y)
|
|
||||||
}
|
|
||||||
|
|
||||||
ColumnLayout {
|
ColumnLayout {
|
||||||
z: inactiveOverlay.z + 1
|
z: inactiveOverlay.z + 1
|
||||||
id: mainLayout
|
id: mainLayout
|
||||||
|
@ -94,15 +94,6 @@ Item {
|
|||||||
width: 480
|
width: 480
|
||||||
height: 360
|
height: 360
|
||||||
|
|
||||||
// Make window draggable
|
|
||||||
MouseArea {
|
|
||||||
anchors.fill: parent
|
|
||||||
property point lastMousePos: Qt.point(0, 0)
|
|
||||||
onPressed: { lastMousePos = Qt.point(mouseX, mouseY); }
|
|
||||||
onMouseXChanged: root.x += (mouseX - lastMousePos.x)
|
|
||||||
onMouseYChanged: root.y += (mouseY - lastMousePos.y)
|
|
||||||
}
|
|
||||||
|
|
||||||
ColumnLayout {
|
ColumnLayout {
|
||||||
z: inactiveOverlay.z + 1
|
z: inactiveOverlay.z + 1
|
||||||
id: mainLayout
|
id: mainLayout
|
||||||
|
Loading…
Reference in New Issue
Block a user