diff options
Diffstat (limited to 'src/mimeview.c')
-rw-r--r-- | src/mimeview.c | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/src/mimeview.c b/src/mimeview.c index 13db36f9..9fc00c58 100644 --- a/src/mimeview.c +++ b/src/mimeview.c @@ -821,8 +821,11 @@ static void mimeview_selection_changed(GtkTreeSelection *selection, mimeview_show_message_part(mimeview, partinfo); break; case MIME_IMAGE: - mimeview_show_image_part(mimeview, partinfo); - break; + if (prefs_common.inline_image) { + mimeview_show_image_part(mimeview, partinfo); + break; + } + /* FALLTHROUGH */ default: mimeview_change_view_type(mimeview, MIMEVIEW_TEXT); #if USE_GPGME |