diff options
author | Joris | 2020-05-31 17:47:13 +0200 |
---|---|---|
committer | Joris | 2020-05-31 17:47:14 +0200 |
commit | 74fd6f47b3683bd727a33f3312582485fa062b95 (patch) | |
tree | 87d4a3045e5585dde9e75cf957e755f47de61775 /src/gui/tasks/table/menu.py | |
parent | 1bed85a9b107d1b03e71b848829cb7b1f33060f4 (diff) |
Use double quotes instead of simple quotes
Follow advice from:
https://stackoverflow.com/questions/56011/single-quotes-vs-double-quotes-in-python
Diffstat (limited to 'src/gui/tasks/table/menu.py')
-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 5404d6c..db89551 100644 --- a/src/gui/tasks/table/menu.py +++ b/src/gui/tasks/table/menu.py @@ -12,11 +12,11 @@ def open(table, update_task_signal, position): menu = QtWidgets.QMenu(table) if len(rows) == 1: - modify_action = menu.addAction(gui.icon.dialog_open(menu.style()), 'modify') + modify_action = menu.addAction(gui.icon.dialog_open(menu.style()), "modify") else: modify_action = QtWidgets.QAction(menu) - delete_action = menu.addAction(gui.icon.trash(menu.style()), 'delete') + delete_action = menu.addAction(gui.icon.trash(menu.style()), "delete") action = menu.exec_(table.mapToGlobal(position + QtCore.QPoint(15, 20))) if action == modify_action and len(rows) == 1: |