修改文件夹内显示置顶功能bug
This commit is contained in:
parent
069a392679
commit
848b1f1804
|
@ -34,7 +34,8 @@ MouseArea {
|
|||
Loader {
|
||||
id: tag
|
||||
property bool recentInsatlled: false
|
||||
visible: (toTop !== 0) || recentInsatlled
|
||||
property bool fixToTop: (toTop !== undefined) && (toTop !== 0)
|
||||
visible: fixToTop || recentInsatlled
|
||||
Layout.alignment: Qt.AlignRight | Qt.AlignVCenter
|
||||
Layout.fillWidth: true
|
||||
Layout.fillHeight: true
|
||||
|
@ -60,7 +61,7 @@ MouseArea {
|
|||
}
|
||||
}
|
||||
}
|
||||
sourceComponent: (toTop === 0) ? tag.recentInsatlled ? tagPoint : null : tagImage
|
||||
sourceComponent: tag.fixToTop ? tagImage : tag.recentInsatlled ? tagPoint : null
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue