[elghinn] typo. fixes #3200

This commit is contained in:
Yann Leboulanger 2007-06-03 13:55:46 +00:00
parent 83a5805c97
commit 7f3e29f964
1 changed files with 4 additions and 4 deletions

View File

@ -309,8 +309,8 @@ class CommandWindow:
else:
self.data_form_widget.hide()
action = command.getTag('action')
if action is None:
actions = command.getTag('actions')
if actions is None:
self.close_button.set_sensitive(True)
self.back_button.set_sensitive(False)
self.forward_button.set_sensitive(False)
@ -318,8 +318,8 @@ class CommandWindow:
else:
# actions, actions, actions...
self.close_button.set_sensitive(True)
self.back_button.set_sensitive(action.getTag('prev') is not None)
self.forward_button.set_sensitive(action.getTag('next') is not None)
self.back_button.set_sensitive(actions.getTag('prev') is not None)
self.forward_button.set_sensitive(actions.getTag('next') is not None)
self.execute_button.set_sensitive(True)
if self.form_status == 'completed':