Handle popup menu being triggered without a full event, e.g. when the menu keyboard key is pressed
This commit is contained in:
parent
ab02add397
commit
60983e3584
@ -35,6 +35,9 @@ class TerminalPopupMenu(object):
|
|||||||
url = terminal.check_for_url(event)
|
url = terminal.check_for_url(event)
|
||||||
button = event.button
|
button = event.button
|
||||||
time = event.time
|
time = event.time
|
||||||
|
else:
|
||||||
|
time = 0
|
||||||
|
button = 3
|
||||||
|
|
||||||
if url:
|
if url:
|
||||||
if url[1] == terminal.matches['email']:
|
if url[1] == terminal.matches['email']:
|
||||||
|
Loading…
Reference in New Issue
Block a user