From 9a99b47f0792af0f7a5e954f6acefb9a7b3e0d3f Mon Sep 17 00:00:00 2001 From: Lea Anthony Date: Sun, 5 Sep 2021 18:40:07 +1000 Subject: [PATCH] [v2] Add title to OpenFileDialog --- v2/internal/frontend/desktop/windows/dialog.go | 1 + 1 file changed, 1 insertion(+) diff --git a/v2/internal/frontend/desktop/windows/dialog.go b/v2/internal/frontend/desktop/windows/dialog.go index 77e2629b..7e180725 100644 --- a/v2/internal/frontend/desktop/windows/dialog.go +++ b/v2/internal/frontend/desktop/windows/dialog.go @@ -41,6 +41,7 @@ func (f *Frontend) OpenFileDialog(options frontend.OpenDialogOptions) (string, e Folder: options.DefaultDirectory, FileFilters: convertFilters(options.Filters), FileName: options.DefaultFilename, + Title: options.Title, } thisdialog, err := cfd.NewOpenFileDialog(config) if err != nil {