summaryrefslogtreecommitdiff
path: root/src/wx/film_name_location_dialog.h
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2021-07-08 00:37:33 +0200
committerCarl Hetherington <cth@carlh.net>2021-07-08 00:37:33 +0200
commitcf7b5fd94e50f740ab93f52343610d01c80ac6d5 (patch)
treefadbed8aa857175165779483bd66a00b203d3094 /src/wx/film_name_location_dialog.h
parent97193e96c637ca92eeaf6e72ee38aa628308973b (diff)
Take account of changes to default directory for new DCPs (#2058).
Instead of always using the last directory in the new film dialog, only use it when it was explicitly changed by the user.
Diffstat (limited to 'src/wx/film_name_location_dialog.h')
-rw-r--r--src/wx/film_name_location_dialog.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/wx/film_name_location_dialog.h b/src/wx/film_name_location_dialog.h
index 09b426e6b..29fcd3384 100644
--- a/src/wx/film_name_location_dialog.h
+++ b/src/wx/film_name_location_dialog.h
@@ -35,7 +35,6 @@ class FilmNameLocationDialog : public TableDialog
{
public:
FilmNameLocationDialog (wxWindow *, wxString title, bool offer_templates);
- ~FilmNameLocationDialog ();
boost::filesystem::path path () const;
bool check_path ();
@@ -44,6 +43,7 @@ public:
private:
void use_template_clicked ();
void setup_sensitivity ();
+ void folder_changed ();
wxTextCtrl* _name;
#ifdef DCPOMATIC_USE_OWN_PICKER