portait prop is not relevant when there is no text
this fixes a binding loop on this property when there is no label BUG:374815 Change-Id: I71616a6c86cd4acdaff47f141ed5c676358db496
This commit is contained in:
parent
780be6f4ce
commit
12a4709b6c
@ -122,7 +122,7 @@ Item {
|
||||
|
||||
property Item tabBar: Utils.findParent(root, "currentTab")
|
||||
property Item tabGroup: Utils.findParent(tab, "currentTab")
|
||||
property bool portrait: (root != undefined) && (label != undefined) && root.height >= label.paintedHeight + units.iconSizes.small
|
||||
property bool portrait: (root != undefined) && (label != undefined) && label.text != "" && root.height >= label.paintedHeight + units.iconSizes.small
|
||||
|
||||
function click() {
|
||||
root.clicked()
|
||||
|
Loading…
Reference in New Issue
Block a user