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:
parent
3af711fbbd
commit
ecac8d4eca
1 changed files with 9 additions and 6 deletions
|
@ -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()
|
||||
{
|
||||
|
|
Loading…
Add table
Reference in a new issue