bug 9920; fix for multiline Titles in Source view

Source view is set up for single line rows, multi-line Titles
cause problems for Gtk (sometimes many unrelated rows get doubled
in height).
This commit is contained in:
prculley 2017-02-21 11:41:40 -06:00
parent d0b50caea1
commit a948feb60e

View File

@ -99,7 +99,7 @@ class SourceModel(FlatBaseModel):
return len(self.fmap)+1
def column_title(self,data):
return data[2]
return data[2].replace('\n', ' ')
def column_author(self,data):
return data[3]