Add track dialog: add header if note given but no track selected

This commit is contained in:
Keith Edmunds 2023-09-30 20:45:12 +01:00
parent 494e124ac8
commit c087858674

View File

@ -1910,7 +1910,7 @@ class DbDialog(QDialog):
item = self.ui.matchList.currentItem()
if item:
track = item.data(Qt.ItemDataRole.UserRole)
self.add_track(track)
self.add_track(track)
def add_selected_and_close(self) -> None:
"""Handle Add and Close button"""