13
0

Fix assertion failure on some right-clicks.

git-svn-id: svn://localhost/ardour2/branches/3.0@12360 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
Carl Hetherington 2012-05-21 15:18:55 +00:00
parent c8c6b185c2
commit 10d0b1cf7a

View File

@ -429,7 +429,7 @@ PortMatrix::popup_menu (BundleChannel column, BundleChannel row, uint32_t t)
} }
} }
if (can_rename_channels (bc[dim].bundle)) { if (can_rename_channels (bc[dim].bundle) && bc[dim].channel != -1) {
snprintf ( snprintf (
buf, sizeof (buf), _("Rename '%s'..."), buf, sizeof (buf), _("Rename '%s'..."),
escape_underscores (bc[dim].bundle->channel_name (bc[dim].channel)).c_str() escape_underscores (bc[dim].bundle->channel_name (bc[dim].channel)).c_str()