mirror of
https://github.com/pdxlocations/contact.git
synced 2026-05-02 03:22:16 +02:00
Fix exception adding last item in settings
This commit is contained in:
@@ -30,7 +30,7 @@ def display_menu(current_menu, menu_path, selected_index, show_save_option):
|
||||
menu_win.border()
|
||||
menu_win.keypad(True)
|
||||
|
||||
menu_pad = curses.newpad(len(current_menu), width - 8)
|
||||
menu_pad = curses.newpad(len(current_menu) + 1, width - 8)
|
||||
|
||||
# Display the current menu path as a header
|
||||
header = " > ".join(word.title() for word in menu_path)
|
||||
|
||||
Reference in New Issue
Block a user