Mulighet for å avbryte produktredigering.

This commit is contained in:
Øystein Ingmar Skartsæterhagen 2010-05-11 16:45:32 +00:00
parent 105c625e1e
commit 189af78fd5
1 changed files with 5 additions and 0 deletions

View File

@ -404,6 +404,11 @@ class EditProductMenu(Menu):
self.session.close() self.session.close()
self.pause() self.pause()
return return
elif what == None:
print 'Edit aborted'
return
else:
print 'What what?'
class ShowUserMenu(Menu): class ShowUserMenu(Menu):