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()
if arrow_str.find('d') == -1:
self.arrowheadstyle = 'none'
if 'd' in arrow_str:
self.arrowheadstyle = 'normal'
else:
self.arrowheadstyle = None
if arrow_str.find('a') != -1:
self.arrowheadstyle = 'none'
if 'a' in arrow_str:
self.arrowtailstyle = 'normal'
else:
self.arrowtailstyle = None
self.arrowtailstyle = 'none'
filter_option = options_class.menu.get_option_by_name('filter')
self._filter = filter_option.get_filter()