mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-08-13 19:25:38 +02:00
Bug 355438 - [Memory Browser] SWT Exception (applied patch)
This commit is contained in:
parent
085f428acb
commit
8f1ac18b4e
1 changed files with 7 additions and 3 deletions
|
@ -444,8 +444,12 @@ public class MemoryBrowser extends ViewPart implements IDebugContextListener, IM
|
|||
|
||||
private void handleUnsupportedSelection() {
|
||||
fStackLayout.topControl = fUnsupportedLabel;
|
||||
fGotoAddressBarControl.setVisible(false);
|
||||
fGotoMemorySpaceControl.setVisible(false);
|
||||
if(!fGotoAddressBarControl.isDisposed()) {
|
||||
fGotoAddressBarControl.setVisible(false);
|
||||
}
|
||||
if(!fGotoMemorySpaceControl.isDisposed()) {
|
||||
fGotoMemorySpaceControl.setVisible(false);
|
||||
}
|
||||
}
|
||||
|
||||
private void performGo(boolean inNewTab) {
|
||||
|
@ -932,7 +936,7 @@ public class MemoryBrowser extends ViewPart implements IDebugContextListener, IM
|
|||
// GUI activity must be on the main thread
|
||||
runOnUIThread(new Runnable(){
|
||||
public void run() {
|
||||
if (fGotoAddressBarControl.isDisposed()) {
|
||||
if (fGotoAddressBarControl.isDisposed() || fGotoMemorySpaceControl.isDisposed()) {
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue