4776: Unable to produce text and graph reports

svn: r16900
This commit is contained in:
Michiel Nauta 2011-03-23 21:55:22 +00:00
parent e14214c51d
commit 0c9a9976af

View File

@ -696,7 +696,7 @@ def report(dbstate, uistate, person, report_class, options_class,
# do not have a target frame and have their own progress # do not have a target frame and have their own progress
# bars. # bars.
do_report() do_report()
elif dialog.open_with_app.get_sensitive() == False: elif dialog.open_with_app.get_property('sensitive') == False:
# This is a work around for the GtkPrint report which # This is a work around for the GtkPrint report which
# uses GTK. The print dialog interferes with the progress # uses GTK. The print dialog interferes with the progress
# bar. So the progress bar should not be used. # bar. So the progress bar should not be used.