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

check for isDisposed before settings colors

This commit is contained in:
Ted Williams 2007-07-21 01:14:16 +00:00
parent 3af711fbbd
commit ecac8d4eca

View file

@ -415,6 +415,8 @@ public class TraditionalRendering extends AbstractMemoryRendering implements IRe
}
public void applyPreferences()
{
if(!fRendering.isDisposed())
{
fRendering.setBackground(getColorBackground());
@ -424,6 +426,7 @@ public class TraditionalRendering extends AbstractMemoryRendering implements IRe
fRendering.redrawPanes();
}
}
public Color getColorBackground()
{