Tidy up function
This commit is contained in:
parent
c139215603
commit
8618813197
@ -275,9 +275,10 @@ class PlaylistTab(QTableView):
|
|||||||
self.dropIndicatorPosition()
|
self.dropIndicatorPosition()
|
||||||
== QAbstractItemView.DropIndicatorPosition.BelowItem
|
== QAbstractItemView.DropIndicatorPosition.BelowItem
|
||||||
):
|
):
|
||||||
internal_id = to_index.internalId()
|
|
||||||
proxy_index = self.proxy_model.createIndex(
|
proxy_index = self.proxy_model.createIndex(
|
||||||
to_index.row() + 1, to_index.column(), internal_id
|
to_index.row() + 1,
|
||||||
|
to_index.column(),
|
||||||
|
to_index.internalId(),
|
||||||
)
|
)
|
||||||
else:
|
else:
|
||||||
proxy_index = to_index
|
proxy_index = to_index
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user