* [ 1662486 ] Lazy loading tab not set window size for greatest tab
- remark the previous patch until there is a better solution.
This commit is contained in:
parent
e4b692e8cf
commit
13d58e03cf
|
@ -1042,11 +1042,11 @@ public final class APanel extends CPanel
|
||||||
}
|
}
|
||||||
else // Cur Tab Setting
|
else // Cur Tab Setting
|
||||||
{
|
{
|
||||||
boolean needValidate = false;
|
//boolean needValidate = false;
|
||||||
if (m_mWorkbench.getMWindow(0).isTabInitialized(m_curTabIndex) == false)
|
if (m_mWorkbench.getMWindow(0).isTabInitialized(m_curTabIndex) == false)
|
||||||
{
|
{
|
||||||
m_mWorkbench.getMWindow(0).initTab(m_curTabIndex);
|
m_mWorkbench.getMWindow(0).initTab(m_curTabIndex);
|
||||||
needValidate = true;
|
//needValidate = true;
|
||||||
}
|
}
|
||||||
m_curGC.activate();
|
m_curGC.activate();
|
||||||
m_curTab = m_curGC.getMTab();
|
m_curTab = m_curGC.getMTab();
|
||||||
|
@ -1088,6 +1088,7 @@ public final class APanel extends CPanel
|
||||||
m_curTab.navigateCurrent(); // updates counter
|
m_curTab.navigateCurrent(); // updates counter
|
||||||
m_curGC.dynamicDisplay(0);
|
m_curGC.dynamicDisplay(0);
|
||||||
}
|
}
|
||||||
|
/*
|
||||||
if (needValidate)
|
if (needValidate)
|
||||||
{
|
{
|
||||||
JFrame frame = Env.getFrame(APanel.this);
|
JFrame frame = Env.getFrame(APanel.this);
|
||||||
|
@ -1113,7 +1114,7 @@ public final class APanel extends CPanel
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}*/
|
||||||
// else ##CHANGE
|
// else ##CHANGE
|
||||||
// m_curTab.navigateCurrent();
|
// m_curTab.navigateCurrent();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue