diff --git a/thunar/thunar-chooser-dialog.c b/thunar/thunar-chooser-dialog.c index 1ce3f32..d5720b3 100644 --- a/thunar/thunar-chooser-dialog.c +++ b/thunar/thunar-chooser-dialog.c @@ -413,6 +413,8 @@ thunar_chooser_dialog_response (GtkDialog *widget, selection = gtk_tree_view_get_selection (GTK_TREE_VIEW (dialog->tree_view)); if (gtk_tree_selection_get_selected (selection, &model, &iter)) gtk_tree_model_get (model, &iter, THUNAR_CHOOSER_MODEL_COLUMN_APPLICATION, &app_info, -1); + else + app_info = NULL; } else {