Fix of global name 'ltr' is not defined in line 6156.

svn: r13636
This commit is contained in:
Peter Landgren 2009-11-19 17:56:23 +00:00
parent d1a49e86bd
commit f87bd00fa5

View File

@ -6116,7 +6116,7 @@ def alphabet_navigation(menu_set):
# See : http://www.gramps-project.org/bugs/view.php?id = 2933 # See : http://www.gramps-project.org/bugs/view.php?id = 2933
# #
(lang_country, modifier ) = locale.getlocale() (lang_country, modifier ) = locale.getlocale()
ltr = get_first_letters
for menu_item in menu_set: for menu_item in menu_set:
if menu_item in sorted_set: if menu_item in sorted_set:
sorted_set[menu_item] += 1 sorted_set[menu_item] += 1