return focus to option menu if visible
This commit is contained in:
parent
60de7a5b9c
commit
4afb42535a
|
@ -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
|
||||
|
||||
'
|
||||
|
|
Loading…
Reference in New Issue
Block a user