1
0
Fork 0
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:
Jonah Graham 2020-09-06 21:47:23 -04:00
parent 983005e3c4
commit 545597722a

View file

@ -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();
}
});
}
});