mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-07-21 07:55:24 +02:00
Bug 327056 - [disassembly] The view does not update to new context when it is hidden
This commit is contained in:
parent
3670c10d89
commit
b99efd0422
1 changed files with 4 additions and 1 deletions
|
@ -1807,7 +1807,7 @@ public abstract class DisassemblyPart extends WorkbenchPart implements IDisassem
|
||||||
frame= 0;
|
frame= 0;
|
||||||
}
|
}
|
||||||
if (frame != fTargetFrame) {
|
if (frame != fTargetFrame) {
|
||||||
gotoFrameIfActive(frame);
|
gotoFrame(frame);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -2089,6 +2089,9 @@ public abstract class DisassemblyPart extends WorkbenchPart implements IDisassem
|
||||||
assert isGuiThread();
|
assert isGuiThread();
|
||||||
if (fActive) {
|
if (fActive) {
|
||||||
gotoFrame(frame);
|
gotoFrame(frame);
|
||||||
|
} else {
|
||||||
|
// this will trigger an update in #setActive()
|
||||||
|
fTargetFrame = -1;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue