1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-07-21 07:55: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,6 +881,7 @@ public class VT100TerminalControl implements ITerminalControlForText, ITerminalC
fCommandInputField=inputField; fCommandInputField=inputField;
if(fCommandInputField!=null) if(fCommandInputField!=null)
fCommandInputField.createControl(fWndParent, this); fCommandInputField.createControl(fWndParent, this);
if(fWndParent.isVisible())
fWndParent.layout(true); fWndParent.layout(true);
} }