summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2018-04-16 00:02:22 +0100
committerCarl Hetherington <cth@carlh.net>2018-04-16 00:02:22 +0100
commit4023e615b8365d30a780c0ecfcf5b492819abe6f (patch)
tree49ca6154bbbff93e138f6898d2835e582b268ce2 /src
parent17625b7ef437ace769f4204df55a7930b9bd9e28 (diff)
Put project path in the audio dialog title bar.
Diffstat (limited to 'src')
-rw-r--r--src/wx/audio_dialog.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/wx/audio_dialog.cc b/src/wx/audio_dialog.cc
index b5d5634ef..8c015ab68 100644
--- a/src/wx/audio_dialog.cc
+++ b/src/wx/audio_dialog.cc
@@ -151,7 +151,8 @@ AudioDialog::AudioDialog (wxWindow* parent, shared_ptr<Film> film, shared_ptr<Co
overall_sizer->SetSizeHints (this);
_film_connection = film->ContentChanged.connect (boost::bind (&AudioDialog::content_changed, this, _2));
- SetTitle (_("DCP-o-matic audio"));
+ DCPOMATIC_ASSERT (film->directory());
+ SetTitle(wxString::Format(_("DCP-o-matic audio - %s"), std_to_wx(film->directory().get().string())));
if (content) {
_playlist.reset (new Playlist ());