calendar: mouse.current_widgets safety check
This commit is contained in:
parent
cc8de6a059
commit
1ece7c35b7
2 changed files with 2 additions and 2 deletions
|
@ -67,7 +67,7 @@ function calendar.show(t_out, inc_offset, scr)
|
|||
|
||||
local widget_focused = true
|
||||
|
||||
if t_out == 0 then
|
||||
if t_out == 0 and mouse.current_widgets then
|
||||
widget_focused = false
|
||||
for i, widget in ipairs(calendar.attach_to) do
|
||||
for _,v in ipairs(mouse.current_widgets) do
|
||||
|
|
2
wiki
2
wiki
|
@ -1 +1 @@
|
|||
Subproject commit bbf5c5b15c676aa5b44caff56593bdffc4f8eca2
|
||||
Subproject commit 2257b0a452c6dbcc3ec16b4e85e47c1779f05f16
|
Loading…
Add table
Reference in a new issue