Merge master.
[dcpomatic.git] / src / wx / audio_dialog.cc
index b7c244c9c51341d8c3625004e4f9ac6df45b1d89..78f3deab655b36eca6a956fc72cfb5b553b807e3 100644 (file)
@@ -95,7 +95,7 @@ AudioDialog::set_content (shared_ptr<AudioContent> c)
 
        _content_changed_connection = _content->Changed.connect (bind (&AudioDialog::content_changed, this, _2));
 
-       SetTitle (wxString::Format (_("DCP-o-matic audio - %s"), std_to_wx(_content->path().filename().string()).data()));
+       SetTitle (wxString::Format (_("DCP-o-matic audio - %s"), std_to_wx(_content->path_summary()).data()));
 }
 
 void