-rw-r--r-- | noncore/net/mail/viewmail.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/noncore/net/mail/viewmail.cpp b/noncore/net/mail/viewmail.cpp index 5206220..a89393c 100644 --- a/noncore/net/mail/viewmail.cpp +++ b/noncore/net/mail/viewmail.cpp @@ -191,16 +191,17 @@ void ViewMail::setBody(const RecBodyP&body ) } } } void ViewMail::slotShowHtml( bool state ) { m_showHtml = state; + m_lasttextpart=-2; setMainText(); } void ViewMail::slotItemClicked( QListViewItem * item , const QPoint & point, int ) { if (!item ) return; @@ -326,16 +327,17 @@ void ViewMail::setMail(const RecMailP&mail ) m_mail[3] = mail->getStringDate(); m_mail[4] = mail->Msgid(); m_mail2[0] = mail->To(); m_mail2[1] = mail->CC(); m_mail2[2] = mail->Bcc(); setCaption(tr("E-Mail by %1").arg( m_mail[0] ) ); + m_lasttextpart=-2; setMainText(); } ViewMail::ViewMail( QWidget *parent, const char *name, WFlags fl) : ViewMailBase(parent, name, fl), _inLoop(false) { |