Try updating the menu after it is opened

Maybe this fixed the menus being in partial state on macos
pull/1855/head
Nicolas Werner 3 weeks ago
parent 76f19d879e
commit e9bbd61110
No known key found for this signature in database
GPG Key ID: C8D75E610773F2D9
  1. 6
      resources/qml/MessageView.qml
  2. 2
      resources/qml/components/SpaceMenuLevel.qml

@ -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…
Cancel
Save