mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-08-01 05:15:43 +02:00
Bug 566713: Fix Widget Disposed exception with asyncExec
Change-Id: I37620534ec5c88da4acaa6e0a2cc789347a8d8d5
This commit is contained in:
parent
983005e3c4
commit
545597722a
1 changed files with 3 additions and 1 deletions
|
@ -390,7 +390,9 @@ public class LanguageSettingsEntriesTab extends AbstractCPropertyTab {
|
||||||
@Override
|
@Override
|
||||||
public void treeExpanded(TreeEvent e) {
|
public void treeExpanded(TreeEvent e) {
|
||||||
treeEntries.getDisplay().asyncExec(() -> {
|
treeEntries.getDisplay().asyncExec(() -> {
|
||||||
|
if (!treeCol.isDisposed()) {
|
||||||
treeCol.pack();
|
treeCol.pack();
|
||||||
|
}
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
Loading…
Add table
Reference in a new issue