| 742 | } |
| 743 | |
| 744 | void OnAlign(const CommandContext &context) |
| 745 | { |
| 746 | auto &project = context.project; |
| 747 | |
| 748 | bool bMoveWith; |
| 749 | gPrefs->Read(wxT("/GUI/MoveSelectionWithTracks"), &bMoveWith, false); |
| 750 | DoAlign(project, context.index, bMoveWith); |
| 751 | } |
| 752 | |
| 753 | /* |
| 754 | // Now handled in OnAlign. |