1
0
Fork 0
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:
David McKnight 2008-01-04 16:45:30 +00:00
parent d4c902100a
commit 186b363fed

View file

@ -470,7 +470,7 @@ public class LinkWithSystemViewAction implements IViewActionDelegate {
public void run(IAction action) { public void run(IAction action) {
if (_systemViewPart != null){ if (_systemViewPart != null){
boolean isToggled = action.isChecked(); boolean isToggled = action.isChecked();
_systemViewPart.setLinkingEnabled(!isToggled, _linker); _systemViewPart.setLinkingEnabled(isToggled, _linker);
} }
} }