remove 'next_tab'

This commit is contained in:
onyx-and-iris 2023-08-28 12:25:55 +01:00
parent 6e261eedb1
commit fba48995c9

View File

@ -121,9 +121,6 @@ class NVDAVMWindow(psg.Window):
self.current_focus = self.find_element_with_focus()
case ["CTRL-TAB"] | ["CTRL-SHIFT-TAB"]:
tab_labels = get_tabs_labels()
next_tab = tab_labels.index(values["tabs"]) + 1
self.logger.debug(f"Setting tab {tab_labels[next_tab]} focus")
self["tabs"].set_focus()
# Menus