This commit is contained in:
Bruno
2021-04-26 22:06:06 +02:00
parent 7ba87fcee8
commit c7d6d37a8e
2 changed files with 2 additions and 5 deletions

View File

@@ -661,7 +661,7 @@ void Mixer::renameSource(Source *s, const std::string &newname)
std::list<std::string> others = session_->getNameList();
others.remove(tentativename);
// refuse to rename to an empty name
// try the given new name if valid
if ( !newname.empty() )
tentativename = newname;