Also measure the time it takes to set the pattern.

This commit is contained in:
Florian Bruhin 2015-03-14 13:35:32 +01:00
parent 70cd8e74eb
commit cdbb118238

View File

@ -65,6 +65,7 @@ class CompletionFilterModel(QSortFilterProxyModel):
Args:
val: The value to set.
"""
with debug.log_time(log.completion, 'Setting filter pattern'):
self.pattern = val
self.invalidateFilter()
sortcol = 0