1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-04-29 19:45:01 +02:00

Bug #229771 Usability: Bad Environment preference dialog layout

This commit is contained in:
Oleg Krasilnikov 2008-05-13 08:57:26 +00:00
parent 6be6c455c6
commit a26f5af11d

View file

@ -622,8 +622,7 @@ public abstract class AbstractCPropertyTab implements ICPropertyTab {
* @param msg - text to be shown instead of panes
*/
protected void setAllVisible(boolean visible, String msg) {
if (!visible)
setBackgroundText(msg);
setBackgroundText(visible ? EMPTY_STR : msg);
usercomp.setVisible(visible);
buttoncomp.setVisible(visible);
if (page != null) {