I need help with issue 2463 (http://argouml.tigris.org/issues/show_bug.cgi?id=2463): "Wrong downlighting of "Back" and "Next" buttons".

What I don't understand is how the back action manages to go back to the ToDo description.

When the back button is pressed it executes this code:

...

public void back() {

step--;

if (step < 0)

step = 0;

undoAction(step);

if (item != null)

item.changed();

}

...

The undoAction() always calls a blank method, AFAICS. On the next line, item.changed() fires a ToDoItemChanged event to every listener: the only one is ToDoPane.

Anyway, the back action never calls the [WizStep.]enableButtons() method: that's the only method that enables/disables the backButton.

I'd guess it's all a hiding panels game... but I don't understand how it's done, and where the steps calculation fails. It's driving me crazy...

Reply via email to