mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-17 04:06:26 +01:00
debug the impossible
git-svn-id: svn://localhost/ardour2/branches/3.0@10088 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
parent
315f41f82f
commit
31abbdd17e
1 changed files with 5 additions and 1 deletions
|
|
@ -1368,10 +1368,14 @@ RouteUI::idle_remove_this_route (RouteUI *rui)
|
||||||
bool
|
bool
|
||||||
RouteUI::verify_new_route_name (const std::string& name)
|
RouteUI::verify_new_route_name (const std::string& name)
|
||||||
{
|
{
|
||||||
if (name.find (':') == string::npos) {
|
string::size_type colon = name.find (':');
|
||||||
|
|
||||||
|
if (colon == string::npos) {
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
cerr << "There is a colon in " << name << " at pos " << colon << endl;
|
||||||
|
|
||||||
MessageDialog colon_msg (
|
MessageDialog colon_msg (
|
||||||
_("The use of colons (':') is discouraged in track and bus names.\nDo you want to use this new name?"),
|
_("The use of colons (':') is discouraged in track and bus names.\nDo you want to use this new name?"),
|
||||||
false, MESSAGE_QUESTION, BUTTONS_NONE
|
false, MESSAGE_QUESTION, BUTTONS_NONE
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue