projects
/
dcpomatic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
17625b7
)
Put project path in the audio dialog title bar.
author
Carl Hetherington
<cth@carlh.net>
Sun, 15 Apr 2018 23:02:22 +0000
(
00:02
+0100)
committer
Carl Hetherington
<cth@carlh.net>
Sun, 15 Apr 2018 23:02:22 +0000
(
00:02
+0100)
src/wx/audio_dialog.cc
patch
|
blob
|
history
diff --git
a/src/wx/audio_dialog.cc
b/src/wx/audio_dialog.cc
index b5d5634efeefb5948b14adba4f8f9697276a9546..8c015ab68fabf5d95496f1b98ce2ba9cbc48b6e9 100644
(file)
--- 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 ());