Skip to content

Commit

Permalink
bugfix: cursor.mainFilter() devuelve None
Browse files Browse the repository at this point in the history
  • Loading branch information
Aulla committed Feb 19, 2019
1 parent 139a4f2 commit eac0f75
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion pineboolib/fllegacy/flsqlcursor.py
Expand Up @@ -988,10 +988,13 @@ def modeAccess(self):
"""

def mainFilter(self):
ret_ = None
if hasattr(self.model(), "where_filters"):
ret_ = self.model().where_filters["main-filter"]
else:

if ret_ is None:
ret_ = ""


return ret_

Expand Down

0 comments on commit eac0f75

Please sign in to comment.