5478: Multiline text field in reports dialogs not rendered correctly

svn: r18710
This commit is contained in:
Michiel Nauta 2012-01-06 18:16:17 +00:00
parent a011247f52
commit 5b96f1de10

View File

@ -359,6 +359,7 @@ class GuiTextOption(gtk.ScrolledWindow):
# Add a TextView
value = self.__option.get_value()
gtext = gtk.TextView()
gtext.set_size_request(-1, 70)
gtext.get_buffer().set_text("\n".join(value))
gtext.set_editable(1)
self.add(gtext)