Fixed bug when national character (non-ASCII) was entered which search string in ACE (comparison with descriptions, which are unicode, was not possible). It seems that this was Win32 specific (tested on Vista64).

This commit is contained in:
Mateusz Biliński 2009-06-29 06:31:36 +02:00
parent b19d4e63f3
commit 06cf27f6c4
1 changed files with 1 additions and 1 deletions

View File

@ -267,7 +267,7 @@ class AdvancedConfigurationWindow(object):
self.model.append(parent, [name, value, type_])
def visible_func(self, model, treeiter):
search_string = self.entry.get_text().lower()
search_string = self.entry.get_text().decode('utf-8').lower()
for it in tree_model_pre_order(model,treeiter):
if model[it][C_TYPE] != '':
opt_path = self.get_option_path(model, it)