Right, gotta expose widgets to other actors

kivy_mainline_and_py3.8
Tyler Goodlet 2018-12-31 11:51:04 -05:00
parent 72f417b9c2
commit 32a7f4cbd3
1 changed files with 2 additions and 0 deletions

View File

@ -706,6 +706,7 @@ async def _async_main(
# set up a pager view for large ticker lists
table.bind(minimum_height=table.setter('height'))
ss = tractor.current_actor().statespace
try:
async with trio.open_nursery() as nursery:
pager = PagerView(
@ -722,6 +723,7 @@ async def _async_main(
'header': header,
'pager': pager,
}
ss['widgets'] = widgets
nursery.start_soon(
update_quotes,
nursery,