make preview more like main window

This commit is contained in:
Damien Elmes 2008-12-04 00:38:32 +09:00
parent a188f9d5c1
commit 78ae7f48e6

View file

@ -662,6 +662,7 @@ class PreviewDialog(QDialog):
self.dialog.webView.setHtml(
"<style>" + self.deck.css + "</style>" +
mungeQA(self.deck, c.htmlQuestion()) +
"<br><br><hr><br><br>" +
mungeQA(self.deck, c.htmlAnswer()))
playFromText(c.question)
playFromText(c.answer)