mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-08-14 19:55:45 +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() {
|
private void handleUnsupportedSelection() {
|
||||||
fStackLayout.topControl = fUnsupportedLabel;
|
fStackLayout.topControl = fUnsupportedLabel;
|
||||||
fGotoAddressBarControl.setVisible(false);
|
if(!fGotoAddressBarControl.isDisposed()) {
|
||||||
fGotoMemorySpaceControl.setVisible(false);
|
fGotoAddressBarControl.setVisible(false);
|
||||||
|
}
|
||||||
|
if(!fGotoMemorySpaceControl.isDisposed()) {
|
||||||
|
fGotoMemorySpaceControl.setVisible(false);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
private void performGo(boolean inNewTab) {
|
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
|
// GUI activity must be on the main thread
|
||||||
runOnUIThread(new Runnable(){
|
runOnUIThread(new Runnable(){
|
||||||
public void run() {
|
public void run() {
|
||||||
if (fGotoAddressBarControl.isDisposed()) {
|
if (fGotoAddressBarControl.isDisposed() || fGotoMemorySpaceControl.isDisposed()) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue