forked from qt-creator/qt-creator
QmlDesigner: Fix expand all and collapse all in content library
Fixes: QDS-8413 Change-Id: I98931c52f63bbbfd7a42e522a762d77b469df5da Reviewed-by: Mahmoud Badri <mahmoud.badri@qt.io>
This commit is contained in:
@@ -61,6 +61,8 @@ HelperWidgets.ScrollView {
|
|||||||
expanded: bundleCategoryExpanded
|
expanded: bundleCategoryExpanded
|
||||||
expandOnClick: false
|
expandOnClick: false
|
||||||
onToggleExpand: bundleCategoryExpanded = !bundleCategoryExpanded
|
onToggleExpand: bundleCategoryExpanded = !bundleCategoryExpanded
|
||||||
|
onExpand: bundleCategoryExpanded = true
|
||||||
|
onCollapse: bundleCategoryExpanded = false
|
||||||
|
|
||||||
function expandSection() {
|
function expandSection() {
|
||||||
bundleCategoryExpanded = true
|
bundleCategoryExpanded = true
|
||||||
|
@@ -57,6 +57,8 @@ HelperWidgets.ScrollView {
|
|||||||
expanded: bundleCategoryExpanded
|
expanded: bundleCategoryExpanded
|
||||||
expandOnClick: false
|
expandOnClick: false
|
||||||
onToggleExpand: bundleCategoryExpanded = !bundleCategoryExpanded
|
onToggleExpand: bundleCategoryExpanded = !bundleCategoryExpanded
|
||||||
|
onExpand: bundleCategoryExpanded = true
|
||||||
|
onCollapse: bundleCategoryExpanded = false
|
||||||
|
|
||||||
function expandSection() {
|
function expandSection() {
|
||||||
bundleCategoryExpanded = true
|
bundleCategoryExpanded = true
|
||||||
|
Reference in New Issue
Block a user