Commit 80b63db1 authored by Scott Wheeler's avatar Scott Wheeler

Do The Right Thing (tm) if the suggestion for the playlist name is empty.

svn path=/trunk/kdemultimedia/juk/; revision=317473
parent 7e5183c8
......@@ -363,6 +363,9 @@ QString PlaylistCollection::playlistNameDialog(const QString &caption,
QString PlaylistCollection::uniquePlaylistName(const QString &suggest) const
{
if(suggest.isEmpty())
return uniquePlaylistName();
if(!m_playlistNames.contains(suggest))
return suggest;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment