better handling of the inverse-push of solo-by-upstream. still not quite right, but...
[ardour.git] / libs / ardour / midi_source.cc
index ce58d4f585a5319ab5402ce27a17f70f23ba8ef2..2b0efd78e165d7a02f40433722a72e241e3c813c 100644 (file)
@@ -230,7 +230,7 @@ MidiSource::session_saved()
 
        if (_model && _model->edited()) {
                string newname;
-               const string basename = PBD::basename_nosuffix(_name.get());
+               const string basename = PBD::basename_nosuffix(_name.val());
                string::size_type last_dash = basename.find_last_of("-");
                if (last_dash == string::npos || last_dash == basename.find_first_of("-")) {
                        newname = basename + "-1";