Skip to content

Commit

Permalink
ostreeserverselector.py: Allow <Go Back> option while selecting menu
Browse files Browse the repository at this point in the history
items.

Change-Id: I25a4201fc0b29dcf0b54d168fff51d017da246c4
  • Loading branch information
gpiyush-dev committed Aug 17, 2021
1 parent bf62f6a commit 871dc56
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions photon_installer/ostreeserverselector.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,8 @@ def __init__(self, maxy, maxx, install_config):
("Custom RPM-OSTree Server", self.set_default_repo_installation, False)
]

host_menu = Menu(menu_starty, maxx, ostree_host_menu_items)
self.window = Window(win_height, win_width, maxy, maxx, 'Select OSTree Server', True, host_menu)
host_menu = Menu(menu_starty, maxx, ostree_host_menu_items, default_selected=0, tab_enable=False)
self.window = Window(win_height, win_width, maxy, maxx, 'Select OSTree Server', True, host_menu, can_go_next=True)

def set_default_repo_installation(self, is_default_repo ):
self.install_config['ostree']['default_repo'] = is_default_repo
Expand Down

0 comments on commit 871dc56

Please sign in to comment.