fix(tray): cannot activate with mixed left/right click

Fixes #513
This commit is contained in:
Jake Stanger 2024-11-05 13:20:34 +00:00
parent 81c48fecad
commit e53a9067b0
No known key found for this signature in database
GPG Key ID: C51FC8F9CB0BEA61

View File

@ -276,8 +276,9 @@ impl TrayMenuItem {
let tx = tx.clone();
let id = info.id;
widget.connect_activate(move |_item| {
widget.connect_button_press_event(move |_item, _event| {
try_send!(tx, id);
Propagation::Proceed
});
}