diff --git a/src/import/ImportRaw.cpp b/src/import/ImportRaw.cpp index 4568019af..647816417 100644 --- a/src/import/ImportRaw.cpp +++ b/src/import/ImportRaw.cpp @@ -46,6 +46,7 @@ and sample size to help you importing data of an unknown format. #include #include #include +#include #include #include #include @@ -296,6 +297,10 @@ ImportRawDialog::ImportRawDialog(wxWindow * parent, const wxString & fileName) SetName(); + // Append filename at window title + wxFileName wfn{ fileName }; + wxDialog::SetTitle(GetTitle() + ": " + wfn.GetFullName()); + ShuttleGui S(this, eIsCreating); TranslatableStrings encodings; int num;