Add FIXME for self.invalidate()
This commit is contained in:
parent
49a3b57544
commit
a0bcfe1960
@ -314,6 +314,10 @@ class CompletionFilterModel(QSortFilterProxyModel):
|
|||||||
srcmodel.sort(sortcol)
|
srcmodel.sort(sortcol)
|
||||||
except NotImplementedError:
|
except NotImplementedError:
|
||||||
self.sort(sortcol)
|
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):
|
def filterAcceptsRow(self, row, parent):
|
||||||
"""Custom filter implementation.
|
"""Custom filter implementation.
|
||||||
|
Loading…
Reference in New Issue
Block a user