Add track dialog: add header if note given but no track selected
This commit is contained in:
parent
494e124ac8
commit
c087858674
@ -1910,7 +1910,7 @@ class DbDialog(QDialog):
|
|||||||
item = self.ui.matchList.currentItem()
|
item = self.ui.matchList.currentItem()
|
||||||
if item:
|
if item:
|
||||||
track = item.data(Qt.ItemDataRole.UserRole)
|
track = item.data(Qt.ItemDataRole.UserRole)
|
||||||
self.add_track(track)
|
self.add_track(track)
|
||||||
|
|
||||||
def add_selected_and_close(self) -> None:
|
def add_selected_and_close(self) -> None:
|
||||||
"""Handle Add and Close button"""
|
"""Handle Add and Close button"""
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user