Searchs aren't case sensitive enough. Default categories in native language (even if switching language at runtime)

This commit is contained in:
2011-02-15 19:17:18 +01:00
parent bf417a503d
commit 92252f33c3
9 changed files with 148 additions and 132 deletions

View File

@@ -352,7 +352,7 @@ void GridAccount::InsertOperation(User* user, Operation& op, int line, bool fix,
if (!op.meta)
SetCellValue(line, ACCOUNT, user->GetAccountName(op.account));
if (!fix && !op.meta)
SetCellValue(line, CATEGORY, cat.name);
SetCellValue(line, CATEGORY, wxGetTranslation(cat.name));
SetCellRenderer(line, OP_DELETE, new wxGridCellBoolRenderer ());
SetCellEditor(line, OP_DELETE, new wxGridCellBoolEditor ());
SetCellRenderer(line, CHECKED, new wxGridCellBoolRenderer ());