Close the message menu after selecting a quick reaction
And also ensure the "select an emoji" menu doesn't close the message menu after *not* choosing an emoji, so it acts more like a submenu.
This commit is contained in:
@@ -132,14 +132,12 @@ KirigamiComponents.ConvergentContextMenu {
|
||||
root.room.toggleReaction(root.eventId, emoji);
|
||||
root.close();
|
||||
});
|
||||
dialog.closed.connect(() => {
|
||||
root.close();
|
||||
});
|
||||
dialog.open();
|
||||
return;
|
||||
}
|
||||
|
||||
root.room.toggleReaction(root.eventId, modelData);
|
||||
root.close();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user