Skip to content

Commit cd334f5

Browse files
committed
Added icon to add lifecycle button
1 parent 60bed29 commit cd334f5

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

arho_feature_template/gui/dialogs/lifecycle_editor.py

+2
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
from importlib import resources
44
from typing import TYPE_CHECKING
55

6+
from qgis.core import QgsApplication
67
from qgis.PyQt import uic
78
from qgis.PyQt.QtWidgets import QDialog, QDialogButtonBox, QPushButton
89

@@ -30,6 +31,7 @@ def __init__(self, plan: Plan, parent=None):
3031

3132
self.lifecycle_table = LifecycleTableWidget(self.plan.lifecycles)
3233
self.layout().insertWidget(1, self.lifecycle_table)
34+
self.add_lifecycle_button.setIcon(QgsApplication.getThemeIcon("mActionAdd.svg"))
3335

3436
self.add_lifecycle_button.clicked.connect(self.lifecycle_table.add_new_lifecycle_row)
3537
self.lifecycle_table.table_edited.connect(self._check_required_fields)

0 commit comments

Comments
 (0)