View | Details | Raw Unified | Return to bug 59528 | Differences between
and this patch

Collapse All | Expand All

(-)Eclipse UI/org/eclipse/ui/internal/presentations/DefaultPartPresentation.java (-4 / +4 lines)
Lines 835-844 Link Here
835
		if (toSelect == current) {
835
		if (toSelect == current) {
836
			return;
836
			return;
837
		}
837
		}
838
		
838
		IPresentablePart oldpart = current;
839
		if (current != null) {
840
			current.setVisible(false);
841
		}
842
		
839
		
843
		current = toSelect;
840
		current = toSelect;
844
		
841
		
Lines 856-861 Link Here
856
			tabFolder.setSelection(indexOf(current));
853
			tabFolder.setSelection(indexOf(current));
857
			current.setVisible(true);
854
			current.setVisible(true);
858
			setControlSize();		
855
			setControlSize();		
856
		}
857
		if (oldpart != null) {
858
			oldpart.setVisible(false);
859
		}
859
		}
860
	}
860
	}
861
	
861
	

Return to bug 59528