mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-04-22 06:02:11 +02:00
Merge "Bug 546291 reflect the state of the active tab on TabScrollLockAction"
This commit is contained in:
commit
499db8b2b5
1 changed files with 2 additions and 0 deletions
|
@ -56,5 +56,7 @@ public class TabScrollLockAction extends AbstractTerminalAction {
|
|||
@Override
|
||||
public void updateAction(boolean aboutToShow) {
|
||||
setEnabled(aboutToShow && getTarget() != null && getTarget().getState() == TerminalState.CONNECTED);
|
||||
setChecked(getTarget() != null && getTarget().isScrollLock());
|
||||
}
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue