From b0500bae786060e21a788393a479296053d61564 Mon Sep 17 00:00:00 2001 From: AbdelwahabAdam Date: Thu, 27 Oct 2022 13:40:49 -0700 Subject: [PATCH] fix:jans-cli semi-solved for error in alt key shortcuts for submenu (ref: #2748) --- jans-cli-tui/wui_components/jans_nav_bar.py | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/jans-cli-tui/wui_components/jans_nav_bar.py b/jans-cli-tui/wui_components/jans_nav_bar.py index 0437a6d2901..c64fe7e38d7 100755 --- a/jans-cli-tui/wui_components/jans_nav_bar.py +++ b/jans-cli-tui/wui_components/jans_nav_bar.py @@ -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,