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)
|
||||
return
|
||||
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
|
||||
target_row += 1
|
||||
# We're importing potentially multiple tracks in a loop.
|
||||
|
||||
@ -652,8 +652,8 @@ class PlaylistTab(QTableWidget):
|
||||
self,
|
||||
session: scoped_session,
|
||||
track: Tracks,
|
||||
note: str = "",
|
||||
repaint: bool = True,
|
||||
note: Optional[str] = "",
|
||||
repaint: Optional[bool] = True,
|
||||
target_row: Optional[int] = None,
|
||||
) -> None:
|
||||
"""
|
||||
|
||||
Loading…
Reference in New Issue
Block a user