diff options
Diffstat (limited to 'src/gui/tasks/table/menu.py')
-rw-r--r-- | src/gui/tasks/table/menu.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gui/tasks/table/menu.py b/src/gui/tasks/table/menu.py index db89551..0ad9857 100644 --- a/src/gui/tasks/table/menu.py +++ b/src/gui/tasks/table/menu.py @@ -3,10 +3,11 @@ from typing import List import db.tasks import gui.tasks.dialog +from model.status import Status from model.task import Task, ValidTaskForm from model.tag import Tag -def open(table, update_task_signal, position): +def open(table: QtWidgets.QTableWidget, status: Status, update_task_signal, position): rows = set([index.row() for index in table.selectedIndexes()]) menu = QtWidgets.QMenu(table) |