summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--kmail/kmmimeparttree.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/kmail/kmmimeparttree.cpp b/kmail/kmmimeparttree.cpp
index 91d8592fe..56910cb24 100644
--- a/kmail/kmmimeparttree.cpp
+++ b/kmail/kmmimeparttree.cpp
@@ -131,7 +131,8 @@ void KMMimePartTree::itemRightClicked( TQListViewItem* item,
else {
TQPopupMenu* popup = new TQPopupMenu;
if ( mCurrentContextMenuItem->node()->nodeId() > 2 &&
- mCurrentContextMenuItem->node()->typeString() != "Multipart" ) {
+ mCurrentContextMenuItem->node()->typeString() != "Multipart" ||
+ mCurrentContextMenuItem->node()->subTypeString() == "HTML" ) {
popup->insertItem( SmallIcon("document-open"), i18n("to open", "Open"), this, TQ_SLOT(slotOpen()) );
popup->insertItem( i18n("Open With..."), this, TQ_SLOT(slotOpenWith()) );
popup->insertItem( i18n("to view something", "View"), this, TQ_SLOT(slotView()) );