Skip to content

Commit 51e7c93

Browse files
committed
error icons
1 parent b95f1bf commit 51e7c93

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

diacamma/member/editors.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@
3434
XferCompSelect, XferCompCheck, XferCompButton
3535
from lucterios.framework.error import LucteriosException, IMPORTANT
3636
from lucterios.framework.tools import CLOSE_NO, FORMTYPE_REFRESH, ActionsManage,\
37-
SELECT_SINGLE
37+
SELECT_SINGLE, get_icon_path
3838

3939
from lucterios.contacts.editors import IndividualEditor
4040

@@ -134,7 +134,7 @@ def edit(self, xfer):
134134
def show(self, xfer):
135135
IndividualEditor.show(self, xfer)
136136
img = xfer.get_components('img')
137-
img.set_value("diacamma.member/images/adherent.png")
137+
img.set_value(get_icon_path("diacamma.member/images/adherent.png"))
138138

139139
xfer.get_components('subscription').add_action(xfer.request, ActionsManage.get_act_changed(
140140
'Subscription', 'bill', _('Bill'), 'images/ok.png'), {'close': CLOSE_NO, 'unique': SELECT_SINGLE})

0 commit comments

Comments
 (0)