diff options
-rw-r--r-- | src/web-view.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/web-view.c b/src/web-view.c index 34508e4..24cfdcd 100644 --- a/src/web-view.c +++ b/src/web-view.c @@ -805,6 +805,9 @@ open_response_cb(GtkWidget *dialog, gint response_id, MqWebView *web_view) gchar *uri; if (response_id == GTK_RESPONSE_ACCEPT) { + mq_config_set_string(web_view->config, "directories.open-file", + gtk_file_chooser_get_current_folder( + GTK_FILE_CHOOSER(dialog))); filename = gtk_file_chooser_get_filename( GTK_FILE_CHOOSER(dialog)); uri = g_strconcat("file://", filename, NULL); |