Skip to content

Commit

Permalink
fix:jans-cli semi-solved for error in alt key shortcuts for submenu (…
Browse files Browse the repository at this point in the history
…ref: #2748)
  • Loading branch information
AbdelwahabAdam committed Oct 27, 2022
1 parent 9ceaedf commit b0500ba
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions jans-cli-tui/wui_components/jans_nav_bar.py
Original file line number Diff line number Diff line change
Expand Up @@ -90,10 +90,11 @@ def _go_tab(self, ev)-> None:
if not self._set_tab_for_view(self.myparent.nav_bar, ev):
# then set sub navbar
cur_plugin = self.myparent.nav_bar.cur_navbar_selection
cur_view = self.myparent._plugins[cur_plugin].nav_bar

self._set_tab_for_view(cur_view, ev)

try: ## i couldnt access the plugin content from here
cur_view = self.myparent._plugins[cur_plugin].nav_bar
self._set_tab_for_view(cur_view, ev)
except:
pass

def add_key_binding(
self,
Expand Down

0 comments on commit b0500ba

Please sign in to comment.