Add FIXME for self.invalidate()

This commit is contained in:
Florian Bruhin 2014-02-04 18:46:33 +01:00
parent 49a3b57544
commit a0bcfe1960

View File

@ -314,6 +314,10 @@ class CompletionFilterModel(QSortFilterProxyModel):
srcmodel.sort(sortcol)
except NotImplementedError:
self.sort(sortcol)
# FIXME we should call self.invalidate() here so sorting actually works.
# However, this seems to provoke a lot of weird problems, like
# random race condition segfaults :(
# self.invalidate()
def filterAcceptsRow(self, row, parent):
"""Custom filter implementation.