naughty: Pass the notification object to the action "invoked" signal.
Fix #3384
This commit is contained in:
parent
2a8c17daea
commit
17bd5fb036
|
@ -337,7 +337,10 @@ local function new(_, args)
|
|||
update_style(wdg)
|
||||
|
||||
wdg._private.default_buttons = gtable.join(
|
||||
abutton({ }, 1, function(a) a:invoke(args.notification) end)
|
||||
abutton({ }, 1, function(a)
|
||||
local notif = wdg._private.notification or args.notification
|
||||
a:invoke(notif)
|
||||
end)
|
||||
)
|
||||
|
||||
return wdg
|
||||
|
|
Loading…
Reference in New Issue