Added missing has_data interface for QuickViews

svn: r17124
This commit is contained in:
Doug Blank
2011-04-15 15:50:38 +00:00
parent a625154e7b
commit 25830e2325
3 changed files with 17 additions and 5 deletions

View File

@@ -66,8 +66,10 @@ def run(database, document, obj):
if stab.get_row_count() > 0:
stab.write(sdoc)
document.has_data = True
else:
sdoc.paragraph(_("No link references for this note"))
sdoc.paragraph("")
document.has_data = False
sdoc.paragraph("")