Pour les commentaires, on remet la boite de dialogue tant qu'il y a
des modifs darcs-hash:20050224081353-d1718-d03fe0b5bf23ce21c3f4f0891ffd259b4e30b8d8.gz
This commit is contained in:
parent
a0e5dc042c
commit
41e027bbb5
1 changed files with 4 additions and 2 deletions
|
@ -691,13 +691,15 @@ def __prompt_input_menu(method,titre,prompt) :
|
||||||
if val : method(val)
|
if val : method(val)
|
||||||
else :
|
else :
|
||||||
method([num-1,val])
|
method([num-1,val])
|
||||||
|
|
||||||
except ValueError, c :
|
except ValueError, c :
|
||||||
arg = u'--title "%s" ' % titre
|
arg = u'--title "%s" ' % titre
|
||||||
arg+= u'--msgbox "%s\n\n\n" 0 0' % c.args[0]
|
arg+= u'--msgbox "%s\n\n\n" 0 0' % c.args[0]
|
||||||
dialog(arg)
|
dialog(arg)
|
||||||
return __prompt_input_menu(method,titre,prompt)
|
return __prompt_input_menu(method,titre,prompt)
|
||||||
|
else:
|
||||||
|
return __prompt_input_menu(method,titre,prompt)
|
||||||
|
|
||||||
def set_solde(clas) :
|
def set_solde(clas) :
|
||||||
""" Débit ou crédit d'un compte """
|
""" Débit ou crédit d'un compte """
|
||||||
while 1 :
|
while 1 :
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue