forked from qt-creator/qt-creator
QmlDesigner: Show correct file structure in AssetsLibrary when empty
Fixes: QDS-14099 Change-Id: I4e5962efa7e934913d339e914e1f41013f6614ee Reviewed-by: Mahmoud Badri <mahmoud.badri@qt.io> Reviewed-by: Ali Kianian <ali.kianian@qt.io>
This commit is contained in:
@@ -278,6 +278,7 @@ Item {
|
||||
AssetsView {
|
||||
id: assetsView
|
||||
|
||||
visible: !assetsModel.isEmpty
|
||||
width: parent.width
|
||||
height: parent.height - assetsView.y
|
||||
|
||||
|
@@ -10,6 +10,7 @@ import AssetsLibraryBackend
|
||||
|
||||
TreeView {
|
||||
id: root
|
||||
|
||||
clip: true
|
||||
interactive: verticalScrollBar.visible && !root.contextMenu.opened && !rootView.isDragging
|
||||
reuseItems: false
|
||||
|
Reference in New Issue
Block a user