Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
View | Details | Raw Unified | Return to bug 210753
Collapse All | Expand All

(-)src/org/eclipse/ui/forms/editor/FormEditor.java (-2 / +1 lines)
Lines 620-629 Link Here
620
		// this should be called only when the editor is first opened
620
		// this should be called only when the editor is first opened
621
		if (pages.size() > pageIndex
621
		if (pages.size() > pageIndex
622
				&& pages.get(pageIndex) instanceof IFormPage) {
622
				&& pages.get(pageIndex) instanceof IFormPage) {
623
			pageChange(pageIndex);
623
			super.setActivePage(pageIndex);
624
			IFormPage activePage = (IFormPage) pages.get(pageIndex);
624
			IFormPage activePage = (IFormPage) pages.get(pageIndex);
625
			activePage.setActive(true);
625
			activePage.setActive(true);
626
			super.setActivePage(pageIndex);
627
		} else
626
		} else
628
			super.setActivePage(pageIndex);
627
			super.setActivePage(pageIndex);
629
		updateActionBarContributor(pageIndex);
628
		updateActionBarContributor(pageIndex);

Return to bug 210753