return focus to option menu if visible

This commit is contained in:
Alex Wardle 2022-12-28 09:52:31 -07:00
parent 60de7a5b9c
commit 4afb42535a

View File

@ -340,6 +340,10 @@ sub ItemDataLoaded(msg)
m.loading = false
m.spinner.visible = false
' Return focus to options menu if it was opened while library was loading
if m.options.visible
m.options.setFocus(true)
end if
return
end if
@ -364,6 +368,10 @@ sub ItemDataLoaded(msg)
end if
m.spinner.visible = false
' Return focus to options menu if it was opened while library was loading
if m.options.visible
m.options.setFocus(true)
end if
end sub
'