Put project path in the audio dialog title bar.
authorCarl Hetherington <cth@carlh.net>
Sun, 15 Apr 2018 23:02:22 +0000 (00:02 +0100)
committerCarl Hetherington <cth@carlh.net>
Sun, 15 Apr 2018 23:02:22 +0000 (00:02 +0100)
src/wx/audio_dialog.cc

index b5d5634efeefb5948b14adba4f8f9697276a9546..8c015ab68fabf5d95496f1b98ce2ba9cbc48b6e9 100644 (file)
@@ -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 ());