Commit a0059808 authored by Linus Jahn's avatar Linus Jahn

AboutPage: Fix close multiple times

parent 73e23f83
......@@ -63,9 +63,13 @@ Kirigami.Page {
}
Controls.Button {
anchors.horizontalCenter: parent.horizontalCenter
id: closeButton
text: qsTr("Close")
onClicked: pageStack.pop()
anchors.horizontalCenter: parent.horizontalCenter
onClicked: {
closeButton.enabled = false;
pageStack.pop();
}
}
}
}
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment