revert debugging change from yesterday

git-svn-id: svn://localhost/ardour2/branches/3.0@10089 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
Paul Davis
2011-09-16 11:39:18 +00:00
parent 31abbdd17e
commit 32cc399595

View File

@@ -1368,14 +1368,10 @@ RouteUI::idle_remove_this_route (RouteUI *rui)
bool
RouteUI::verify_new_route_name (const std::string& name)
{
string::size_type colon = name.find (':');
if (colon == string::npos) {
if (name.find (':') == string::npos) {
return true;
}
cerr << "There is a colon in " << name << " at pos " << colon << endl;
MessageDialog colon_msg (
_("The use of colons (':') is discouraged in track and bus names.\nDo you want to use this new name?"),
false, MESSAGE_QUESTION, BUTTONS_NONE