mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-07-25 18:05:33 +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
|
||||
public void treeExpanded(TreeEvent e) {
|
||||
treeEntries.getDisplay().asyncExec(() -> {
|
||||
treeCol.pack();
|
||||
if (!treeCol.isDisposed()) {
|
||||
treeCol.pack();
|
||||
}
|
||||
});
|
||||
}
|
||||
});
|
||||
|
|
Loading…
Add table
Reference in a new issue