Adapt API to ConvergentContextMenu change
Use close instead of using internal menuItem
This commit is contained in:
@@ -214,10 +214,10 @@ KirigamiComponents.ConvergentContextMenu {
|
|||||||
dialog.showStickers = false;
|
dialog.showStickers = false;
|
||||||
dialog.chosen.connect(emoji => {
|
dialog.chosen.connect(emoji => {
|
||||||
root.room.toggleReaction(root.eventId, emoji);
|
root.room.toggleReaction(root.eventId, emoji);
|
||||||
root.menuItem.close();
|
root.close();
|
||||||
});
|
});
|
||||||
dialog.closed.connect(() => {
|
dialog.closed.connect(() => {
|
||||||
root.menuItem.close();
|
root.close();
|
||||||
});
|
});
|
||||||
dialog.open();
|
dialog.open();
|
||||||
return;
|
return;
|
||||||
|
|||||||
Reference in New Issue
Block a user