summaryrefslogtreecommitdiff
authoralwin <alwin>2005-03-09 14:59:26 (UTC)
committer alwin <alwin>2005-03-09 14:59:26 (UTC)
commit8e618d7a6d195cb737946e89370d5c60f92e8f86 (patch) (side-by-side diff)
treea4cfada2c0420fb40c483ace4dc2a6fce4258d6a
parent84f237fb3b83400a031bf7c2d3025f78c02f28a8 (diff)
downloadopie-8e618d7a6d195cb737946e89370d5c60f92e8f86.zip
opie-8e618d7a6d195cb737946e89370d5c60f92e8f86.tar.gz
opie-8e618d7a6d195cb737946e89370d5c60f92e8f86.tar.bz2
small bugfix
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/net/mail/viewmail.cpp2
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
@@ -193,12 +193,13 @@ 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 )
@@ -328,12 +329,13 @@ void ViewMail::setMail(const RecMailP&mail )
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)