[app] Workaround for Qt crash
Qt was crashing when user was swiping over hidden cancel button. Making button invisible helps to avoid the crash.
This commit is contained in:
parent
516028d542
commit
53f7693ced
1 changed files with 1 additions and 0 deletions
|
@ -240,6 +240,7 @@ SilicaFlickable {
|
||||||
}
|
}
|
||||||
onClicked: root.closeBook()
|
onClicked: root.closeBook()
|
||||||
enabled: _loading
|
enabled: _loading
|
||||||
|
visible: opacity > 0
|
||||||
opacity: enabled ? 1.0 : 0.0
|
opacity: enabled ? 1.0 : 0.0
|
||||||
Behavior on opacity { FadeAnimation { } }
|
Behavior on opacity { FadeAnimation { } }
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue