Fix title_results in win_search when form name contains %
This commit is contained in:
1 parent
6f5072b872
commit
af3a7d6b59
1 file changed
+1
-1
@@ -74,7 +74,7 @@ class WinSearch(object):
|
||||
|
||||
self.title = _('Search: %s') % self.form.name
|
||||
self.title_results = _('Search: %s (%%d result(s))') % \
|
||||
self.form.name
|
||||
self.form.name.replace('%', '%%')
|
||||
self.win.set_title(self.title)
|
||||
|
||||
hbox.pack_start(self.form.widget)
|
||||
|
||||
Reference in new issue
Block a user