Improved unique name system.
This commit is contained in:
parent
a8560add65
commit
e5cc7c0cdb
3 changed files with 24 additions and 12 deletions
|
@ -37,7 +37,7 @@ class TabTitle(QLineEdit):
|
|||
|
||||
self.playlist_view.playlist.delete()
|
||||
|
||||
name = self.app.utils.unique_name(self.text())
|
||||
name = self.app.utils.unique_name(self.text(), ignore=self.playlist_view.playlist.title)
|
||||
self.setText(name)
|
||||
|
||||
self.playlist_view.playlist.title = name
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue