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:
parent
d0b50caea1
commit
a948feb60e
@ -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]
|
||||
|
Loading…
Reference in New Issue
Block a user