diff options
-rw-r--r-- | src/web-view.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/web-view.c b/src/web-view.c index 75c8695..320491f 100644 --- a/src/web-view.c +++ b/src/web-view.c @@ -1004,7 +1004,11 @@ save_response_cb(GtkWidget *dialog, gint response_id, MqWebView *web_view) active_id = gtk_combo_box_get_active_id( web_view->save_type_combo_box); if (g_strcmp0(active_id, "detect") == 0) { - /* TODO */ + if (extension_is_html(extension)) { + /* TODO */ + } else if (extension_is_mhtml(extension)) { + save_mhtml(web_view, file); + } } else if (g_strcmp0(active_id, "html") == 0) { /* TODO */ } else if (g_strcmp0(active_id, "mhtml") == 0) { |