Fix of issue 3531.

svn: r14156
This commit is contained in:
Peter Landgren 2010-01-28 15:20:19 +00:00
parent fcde4a1e3b
commit 79add865ff

View File

@ -141,14 +141,14 @@ class RelGraphReport(Report):
} }
arrow_str = menu.get_option_by_name('arrow').get_value() arrow_str = menu.get_option_by_name('arrow').get_value()
if arrow_str.find('d') == -1: if 'd' in arrow_str:
self.arrowheadstyle = 'none' self.arrowheadstyle = 'normal'
else: else:
self.arrowheadstyle = None self.arrowheadstyle = 'none'
if arrow_str.find('a') != -1: if 'a' in arrow_str:
self.arrowtailstyle = 'normal' self.arrowtailstyle = 'normal'
else: else:
self.arrowtailstyle = None self.arrowtailstyle = 'none'
filter_option = options_class.menu.get_option_by_name('filter') filter_option = options_class.menu.get_option_by_name('filter')
self._filter = filter_option.get_filter() self._filter = filter_option.get_filter()