Merge pull request #930 from ApexArray/fix-option-menu-focus
Fix option menu focus if opened while library still loading
This commit is contained in:
commit
6bcb940875
|
@ -371,6 +371,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
|
||||
|
||||
|
@ -413,6 +417,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