Call god what it is

fsp_feeds
Tyler Goodlet 2021-08-01 18:53:59 -04:00
parent d1f9273418
commit 70a283e336
1 changed files with 4 additions and 4 deletions

View File

@ -795,7 +795,7 @@ async def handle_keyboard_input(
# startup
bar = searchbar
search = searchbar.parent()
chart = search.godwidget
godwidget = search.godwidget
view = bar.view
view.set_font_size(bar.dpi_font.px_size)
@ -837,7 +837,7 @@ async def handle_keyboard_input(
# if nothing in search text show the cache
view.set_section_entries(
'cache',
list(reversed(chart._chart_cache)),
list(reversed(godwidget._chart_cache)),
clear_all=True,
)
continue
@ -851,9 +851,9 @@ async def handle_keyboard_input(
search.bar.unfocus()
# kill the search and focus back on main chart
if chart:
if godwidget:
print('focussing view')
chart.linkedsplits.focus()
godwidget.linkedsplits.focus()
continue