Commit dfd6dd37 authored by Robert Lancaster's avatar Robert Lancaster Committed by Jasem Mutlaq

Back button fix for QML

parent 19fd0190
......@@ -1694,6 +1694,7 @@ Rectangle {
State {
name: "helpDisplayed"
PropertyChanges {target: helpMessage; visible: true }
PropertyChanges {target: backButton; x: container.width - 105}
}
]
}
......@@ -1753,7 +1754,9 @@ Rectangle {
onEntered: goBackForeground.opacity = buttonOpacity
onExited: goBackForeground.opacity = 0.0
onClicked: {
if (container.state == "objectFromListSelected") {
if(helpMessage.state == "helpDisplayed"){
helpMessage.state = ""
} else if (container.state == "objectFromListSelected") {
if (!skyObjView.flipped||container.width>=900) {
container.state = "base"
catTitle.text = ""
......
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