diff options
Diffstat (limited to 'src/gui/tasks/table')
-rw-r--r-- | src/gui/tasks/table/menu.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gui/tasks/table/menu.py b/src/gui/tasks/table/menu.py index f22176c..5404d6c 100644 --- a/src/gui/tasks/table/menu.py +++ b/src/gui/tasks/table/menu.py @@ -1,4 +1,4 @@ -from PyQt5 import QtWidgets +from PyQt5 import QtWidgets, QtCore from typing import List import db.tasks @@ -18,7 +18,7 @@ def open(table, update_task_signal, position): delete_action = menu.addAction(gui.icon.trash(menu.style()), 'delete') - action = menu.exec_(table.mapToGlobal(position)) + action = menu.exec_(table.mapToGlobal(position + QtCore.QPoint(15, 20))) if action == modify_action and len(rows) == 1: row = list(rows)[0] (task, tags) = table.get_at(row) |