diff options
Diffstat (limited to 'src/gui/tasks/widget.py')
-rw-r--r-- | src/gui/tasks/widget.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gui/tasks/widget.py b/src/gui/tasks/widget.py index 0462f54..61ad605 100644 --- a/src/gui/tasks/widget.py +++ b/src/gui/tasks/widget.py @@ -2,7 +2,7 @@ from PyQt5 import QtWidgets, QtCore import gui.tasks.signal import gui.tasks.table.widget -import gui.icons +import gui.icon from model.task import ValidTaskForm def widget(database, parent): @@ -14,7 +14,7 @@ def widget(database, parent): add_task_signal = gui.tasks.signal.AddTask() add_task_button = QtWidgets.QPushButton('Add a task', widget) - add_task_button.setIcon(gui.icons.new_folder(widget.style())) + add_task_button.setIcon(gui.icon.new_folder(widget.style())) add_task_button.clicked.connect(lambda: gui.tasks.dialog.add( database, widget, add_task_signal).exec_()) layout.addWidget(add_task_button) |