mirror of
https://github.com/kossLAN/dots.git
synced 2025-11-05 06:59:50 -05:00
bar/systray: issue recreate on interact
This commit is contained in:
parent
e81df16f49
commit
f041f1d10f
3 changed files with 20 additions and 7 deletions
|
|
@ -6,6 +6,7 @@ import "../.."
|
|||
ColumnLayout {
|
||||
id: root
|
||||
required property QsMenuEntry modelData
|
||||
signal interacted
|
||||
|
||||
Rectangle {
|
||||
visible: (root.modelData?.isSeparator ?? false)
|
||||
|
|
@ -20,5 +21,6 @@ ColumnLayout {
|
|||
visible: !root.modelData?.isSeparator
|
||||
menuData: root.modelData
|
||||
Layout.fillWidth: true
|
||||
onInteracted: root.interacted()
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue