mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-08-09 01:05:38 +02:00
[187711] use action.isChecked() to determine new toggle state - not the view flag
This commit is contained in:
parent
d4c902100a
commit
186b363fed
1 changed files with 1 additions and 1 deletions
|
@ -470,7 +470,7 @@ public class LinkWithSystemViewAction implements IViewActionDelegate {
|
|||
public void run(IAction action) {
|
||||
if (_systemViewPart != null){
|
||||
boolean isToggled = action.isChecked();
|
||||
_systemViewPart.setLinkingEnabled(!isToggled, _linker);
|
||||
_systemViewPart.setLinkingEnabled(isToggled, _linker);
|
||||
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue