diff --git a/pages/History.qml b/pages/History.qml index 528b34db..4cdf17a0 100644 --- a/pages/History.qml +++ b/pages/History.qml @@ -147,7 +147,7 @@ Rectangle { text: qsTr("\ looking for Advance filtering?") font.underline: false - onLinkActivated: tableRect.height = tableRect.collapsedHeight + onLinkActivated: tableRect.height = Qt.binding(function(){ return tableRect.collapsedHeight }) } Label { @@ -245,7 +245,7 @@ Rectangle { anchors.fill: parent onClicked: { parent.expanded = !parent.expanded - tableRect.height = parent.expanded ? tableRect.expandedHeight : tableRect.middleHeight + tableRect.height = Qt.binding(function(){ return parent.expanded ? tableRect.expandedHeight : tableRect.middleHeight }) } } }