parent
94ab5bcbb8
commit
2f42377479
1 changed files with 5 additions and 1 deletions
|
|
@ -98,9 +98,13 @@ Item {
|
||||||
content.visible = false;
|
content.visible = false;
|
||||||
content.active = true;
|
content.active = true;
|
||||||
} else {
|
} else {
|
||||||
root.contentHeight = content.implicitHeight;
|
root.contentHeight = Math.min(root.maxHeight, content.implicitHeight);
|
||||||
content.active = Qt.binding(() => root.shouldBeActive || root.visible);
|
content.active = Qt.binding(() => root.shouldBeActive || root.visible);
|
||||||
content.visible = true;
|
content.visible = true;
|
||||||
|
if (showAnim.running) {
|
||||||
|
showAnim.stop();
|
||||||
|
showAnim.start();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue