Skip to content

Commit

Permalink
Fixed bug
Browse files Browse the repository at this point in the history
  • Loading branch information
AbhiK002 authored Jan 17, 2023
1 parent 9f82a79 commit 9aed12e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gui_main.pyw
Original file line number Diff line number Diff line change
Expand Up @@ -349,7 +349,7 @@ class TaskBox(QtWidgets.QPushButton):
task_lay.addStretch()

# open task window on click
self.clicked.connect(lambda p=int(task_number): [mainwindow.open_task(p)])
self.pressed.connect(lambda p=int(task_number): [mainwindow.open_task(p)])

self.setObjectName("TaskItem")
self.setCursor(QCursor(Qt.PointingHandCursor))
Expand Down

0 comments on commit 9aed12e

Please sign in to comment.