Fix regression that broke tag browser on some os x machines

This commit is contained in:
Kovid Goyal 2012-08-10 22:52:56 +05:30
parent 4db400e6bf
commit 57ba956d04

View File

@ -409,7 +409,7 @@ class TagsModel(QAbstractItemModel): # {{{
# in ICU's 'ordinal' for the first letter. In this case, the
# first letter can actually be more than one letter long.
cl_list = [None] * len(data[key])
last_ordnum = 0
last_ordnum = last_c = 0
for idx,tag in enumerate(data[key]):
if not tag.sort:
c = ' '