1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-07-03 07:05:24 +02:00

only re-layout hen the parent is visible

This commit is contained in:
Michael Scharf 2007-10-11 15:25:51 +00:00
parent ee9c1f6531
commit e4e7a45b2a

View file

@ -881,7 +881,8 @@ public class VT100TerminalControl implements ITerminalControlForText, ITerminalC
fCommandInputField=inputField;
if(fCommandInputField!=null)
fCommandInputField.createControl(fWndParent, this);
fWndParent.layout(true);
if(fWndParent.isVisible())
fWndParent.layout(true);
}
public int getBufferLineLimit() {