Try updating the menu after it is opened
Maybe this fixed the menus being in partial state on macos
This commit is contained in:
parent
76f19d879e
commit
e9bbd61110
2 changed files with 4 additions and 4 deletions
|
|
@ -420,12 +420,12 @@ Item {
|
|||
else
|
||||
link = "";
|
||||
|
||||
messageActionsCFilter.updateTarget();
|
||||
|
||||
if (showAt_)
|
||||
popup(showAt_);
|
||||
else
|
||||
popup();
|
||||
|
||||
messageActionsCFilter.updateTarget();
|
||||
}
|
||||
|
||||
Component {
|
||||
|
|
@ -659,8 +659,8 @@ Item {
|
|||
link = link_;
|
||||
eventId = eventId_;
|
||||
|
||||
popup();
|
||||
replyContextMenuCFilter.updateTarget();
|
||||
open();
|
||||
}
|
||||
|
||||
Component.onCompleted: {
|
||||
|
|
|
|||
|
|
@ -17,7 +17,7 @@ Menu {
|
|||
title: modelData != undefined ? modelData.name : qsTr("Add or remove from community")
|
||||
property bool loadChildren: false
|
||||
|
||||
onAboutToShow: {
|
||||
onOpened: {
|
||||
loadChildren = true;
|
||||
menuFilter.updateTarget();
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue