Issue #1065 fix contexts to deactivate when unrecognized views activate.
Former-commit-id:6d9d0a406f
[formerly6d9d0a406f
[formerly 5046660b52594a165d4a8749ac12c236d5ec027d]] Former-commit-id:4203807a77
Former-commit-id:8a170234b8
This commit is contained in:
parent
ebad112688
commit
62979089d3
1 changed files with 2 additions and 0 deletions
|
@ -77,6 +77,8 @@ public abstract class AbstractWorkbenchPartContextActivator implements
|
||||||
private void activate(IWorkbenchPartReference partRef) {
|
private void activate(IWorkbenchPartReference partRef) {
|
||||||
if (isPerspectivePart(partRef)) {
|
if (isPerspectivePart(partRef)) {
|
||||||
contextManager.activateContexts(this);
|
contextManager.activateContexts(this);
|
||||||
|
} else {
|
||||||
|
contextManager.deactivateContexts(this);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue