Skip to content
Snippets Groups Projects
Commit 2de4176d authored by akiraohgaki's avatar akiraohgaki
Browse files

Loader for detailed content

parent 080b6b4c
No related branches found
No related tags found
No related merge requests found
...@@ -16,7 +16,7 @@ ColumnLayout { ...@@ -16,7 +16,7 @@ ColumnLayout {
property alias detailsVisible: details.visible property alias detailsVisible: details.visible
property alias detailedText: detailedText.text property alias detailedText: detailedText.text
property alias detailedContent: detailedContent.children property alias detailedContentLoader: detailedContentLoader
property alias actionButton: actionButton property alias actionButton: actionButton
property alias acceptButton: acceptButton property alias acceptButton: acceptButton
...@@ -81,9 +81,9 @@ ColumnLayout { ...@@ -81,9 +81,9 @@ ColumnLayout {
Layout.fillWidth: true Layout.fillWidth: true
wrapMode: Text.WrapAnywhere wrapMode: Text.WrapAnywhere
} }
Item { Loader {
id: detailedContent id: detailedContentLoader
visible: children ? true : false visible: (source || sourceComponent) ? true : false
Layout.fillWidth: true Layout.fillWidth: true
} }
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment