Fix bug that added row number to notes of imported tracks
This commit is contained in:
parent
2db407edc5
commit
405efee732
@ -223,7 +223,7 @@ class ImportTrack(QObject):
|
|||||||
print(e)
|
print(e)
|
||||||
return
|
return
|
||||||
helpers.normalise_track(track.path)
|
helpers.normalise_track(track.path)
|
||||||
self.playlist.insert_track(session, track, target_row)
|
self.playlist.insert_track(session=session, track=track, target_row=target_row)
|
||||||
# Insert next row under this one
|
# Insert next row under this one
|
||||||
target_row += 1
|
target_row += 1
|
||||||
# We're importing potentially multiple tracks in a loop.
|
# We're importing potentially multiple tracks in a loop.
|
||||||
|
|||||||
@ -652,8 +652,8 @@ class PlaylistTab(QTableWidget):
|
|||||||
self,
|
self,
|
||||||
session: scoped_session,
|
session: scoped_session,
|
||||||
track: Tracks,
|
track: Tracks,
|
||||||
note: str = "",
|
note: Optional[str] = "",
|
||||||
repaint: bool = True,
|
repaint: Optional[bool] = True,
|
||||||
target_row: Optional[int] = None,
|
target_row: Optional[int] = None,
|
||||||
) -> None:
|
) -> None:
|
||||||
"""
|
"""
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user