Bug #1592: Fix problem not showing the tab if it is already being shown

FEA: ItEr77S04BugFixing
This commit is contained in:
Manuel Rego Casasnovas 2012-12-07 18:15:26 +01:00 committed by Óscar González Fernández
parent 787916b50d
commit 2b1ed0a998

View file

@ -133,11 +133,11 @@ public class TabOnModeType implements ITab {
@Override
public void show() {
beingShown = true;
ITab currentTab = getCurrentTab();
if (currentTab != null) {
if (currentTab != null && !beingShown) {
currentTab.show();
}
beingShown = true;
}
}