1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-07-23 17:05:26 +02:00

Bug 323221 - Moved the handling of the GotoAddress bar so it is executed on a UI runnable thread.

This commit is contained in:
Randy Rohrbach 2010-09-20 19:11:50 +00:00
parent 3cacbafb08
commit d1ee0b132a

View file

@ -465,11 +465,12 @@ public class MemoryBrowser extends ViewPart implements IDebugContextListener, IM
else {
renderingFinal.goToAddress(newBase);
}
fGotoAddressBar.handleExpressionStatus(Status.OK_STATUS);
runOnUIThread(new Runnable(){
public void run() {
CTabItem selection = activeFolder.getSelection();
selection.setData(KEY_EXPRESSION, expression);
fGotoAddressBar.handleExpressionStatus(Status.OK_STATUS);
updateLabel(selection, renderingFinal);
}
});