Skip to content

Commit

Permalink
Merge branch 'v0.13.x_bugfix' into v0.13.x
Browse files Browse the repository at this point in the history
  • Loading branch information
S1artie committed Sep 9, 2014
2 parents a69f099 + 939ffb0 commit db8095b
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2237,12 +2237,12 @@ public void run() {
treeViewer));

// the drawer must be manually disposed
TestTreeContentDrawer tempOldContentDrawer = viewerContentDrawer;
if (viewerContentDrawer != null) {
viewerContentDrawer.dispose(treeViewer.getTree());
}
viewerContentDrawer = new TestTreeContentDrawer(setList, breakpointSet, Display.getCurrent());
viewerContentDrawer.attachToTree(treeViewer.getTree());
if (tempOldContentDrawer != null) {
tempOldContentDrawer.dispose(treeViewer.getTree());
}

treeViewer.setInput(setList);

((TestTreeContentProvider) treeViewer.getContentProvider()).expandToLevel(lastExpansionLevel + 1);
Expand Down

0 comments on commit db8095b

Please sign in to comment.