Revision 25065 branches/v2_0_0_prep/applications/appgvSIG/src/com/iver/cit/gvsig/LayoutRedoExtension.java

View differences:

LayoutRedoExtension.java
77 77
	public boolean isEnabled() {
78 78
		if (PluginServices.getMDIManager().getActiveWindow() instanceof Layout){
79 79
			Layout layout=(Layout)PluginServices.getMDIManager().getActiveWindow();
80
			if (layout.getLayoutContext().getFrameCommandsRecord().moreRedoCommands() && layout.getLayoutContext().isEditable())
80
			if (layout.getLayoutContext().getFrameCommandsRecord().canRedo() && layout.getLayoutContext().isEditable())
81 81
			return true;
82 82
		}
83 83
		return false;

Also available in: Unified diff