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:
parent
3cacbafb08
commit
d1ee0b132a
1 changed files with 2 additions and 1 deletions
|
@ -465,11 +465,12 @@ public class MemoryBrowser extends ViewPart implements IDebugContextListener, IM
|
||||||
else {
|
else {
|
||||||
renderingFinal.goToAddress(newBase);
|
renderingFinal.goToAddress(newBase);
|
||||||
}
|
}
|
||||||
fGotoAddressBar.handleExpressionStatus(Status.OK_STATUS);
|
|
||||||
runOnUIThread(new Runnable(){
|
runOnUIThread(new Runnable(){
|
||||||
public void run() {
|
public void run() {
|
||||||
CTabItem selection = activeFolder.getSelection();
|
CTabItem selection = activeFolder.getSelection();
|
||||||
selection.setData(KEY_EXPRESSION, expression);
|
selection.setData(KEY_EXPRESSION, expression);
|
||||||
|
fGotoAddressBar.handleExpressionStatus(Status.OK_STATUS);
|
||||||
updateLabel(selection, renderingFinal);
|
updateLabel(selection, renderingFinal);
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
Loading…
Add table
Reference in a new issue