mirror of
https://github.com/pdxlocations/contact.git
synced 2026-11-08 20:02:23 +01:00
Fix exception adding last item in settings
This commit is contained in:
1 parent
2d762515b4
commit
73111a46bb
1 file changed
+1
-1
+1
-1
@@ -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