Skip to content

Commit

Permalink
Remove empty line
Browse files Browse the repository at this point in the history
  • Loading branch information
cbrnr committed Dec 6, 2024
1 parent ec3c105 commit 13a5e16
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/mnelab/widgets/sidebar.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@


class SidebarTableWidget(QTableWidget):
rowsMoved = Signal(int, int) # custom signal emitted, when drag&dropping rows
rowsMoved = Signal(int, int) # custom signal emitted when drag-and-dropping rows

def __init__(self, parent):
super().__init__(parent)
Expand Down Expand Up @@ -96,7 +96,6 @@ def paintEvent(self, event):
def dropEvent(self, event):
if event.mimeData().hasUrls():
self.parent.dropEvent(event)

elif event.source() == self:
drop_row = self.indexAt(event.pos()).row()
if drop_row == -1:
Expand Down

0 comments on commit 13a5e16

Please # to comment.