Allow artist search in title box with "a/"
This commit is contained in:
parent
dfc51e1399
commit
57e81b0f17
@ -138,7 +138,9 @@ class TrackSelectDialog(QDialog):
|
||||
|
||||
self.ui.matchList.clear()
|
||||
if len(s) > 0:
|
||||
if self.ui.radioTitle.isChecked():
|
||||
if s.startswith("a/") and len(s) > 2:
|
||||
matches = Tracks.search_artists(self.session, "%" + s[2:])
|
||||
elif self.ui.radioTitle.isChecked():
|
||||
matches = Tracks.search_titles(self.session, "%" + s)
|
||||
else:
|
||||
matches = Tracks.search_artists(self.session, "%" + s)
|
||||
|
||||
Loading…
Reference in New Issue
Block a user