diff options
| author | Carl Hetherington <cth@carlh.net> | 2024-02-17 23:45:23 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2024-02-17 23:45:38 +0100 |
| commit | 2fd68d37f503776bbe919d6aa01bf9cf6ec6a6dd (patch) | |
| tree | dc34e354d1f2bb7c33565a82d841b902c764cd8e /src/tools | |
| parent | 029044ae58f4dc7f12f4e2d7b5ab85e4d950125b (diff) | |
Use FileDialog for saving preferences ZIPs.
Diffstat (limited to 'src/tools')
| -rw-r--r-- | src/tools/dcpomatic.cc | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/tools/dcpomatic.cc b/src/tools/dcpomatic.cc index c0a182eb6..976842bea 100644 --- a/src/tools/dcpomatic.cc +++ b/src/tools/dcpomatic.cc @@ -757,9 +757,8 @@ private: void tools_export_preferences () { - wxFileDialog dialog( - this, _("Specify ZIP file"), wxEmptyString, wxT("dcpomatic_config.zip"), wxT("ZIP files (*.zip)|*.zip"), - wxFD_SAVE | wxFD_OVERWRITE_PROMPT + FileDialog dialog( + this, _("Specify ZIP file"), wxT("ZIP files (*.zip)|*.zip"), wxFD_SAVE | wxFD_OVERWRITE_PROMPT, "Preferences", string("dcpomatic_config.zip") ); if (dialog.ShowModal() == wxID_OK) { |
