mirror of
https://github.com/nextcloud/desktop.git
synced 2025-10-26 11:17:43 +00:00
Delay binding on the menu width
Indee the MenuItem might not be linked to its Menu at creation time which will make the binding fail and give a warning. Delay for the menu availability. Signed-off-by: Kevin Ottens <kevin.ottens@nextcloud.com>
This commit is contained in:
parent
eb0cedebfa
commit
f7efe6a902
@ -43,7 +43,7 @@ MenuItem {
|
||||
|
||||
background: Item {
|
||||
height: parent.height
|
||||
width: parent.menu.width
|
||||
width: userLine.menu ? userLine.menu.width : 0
|
||||
Rectangle {
|
||||
anchors.fill: parent
|
||||
anchors.margins: 1
|
||||
|
||||
Loading…
Reference in New Issue
Block a user