@@ -457,6 +457,7 @@ begin |
| 457 |
Recall.Pop; |
457 |
Recall.Pop; |
| 458 |
|
458 |
|
| 459 |
// Create the state we need to save |
459 |
// Create the state we need to save |
|
|
460 |
Actn := Default(TUndoRedoAction); |
| 460 |
for I := Low(Patterns) to High(Patterns) do |
461 |
for I := Low(Patterns) to High(Patterns) do |
| 461 |
with Actn[I] do begin |
462 |
with Actn[I] do begin |
| 462 |
Pattern := Patterns[I]^; |
463 |
Pattern := Patterns[I]^; |
@@ -937,6 +938,8 @@ end; |
| 937 |
|
938 |
|
| 938 |
function TTrackerGrid.GetAt(SelectionPos: TSelectionPos): Integer; |
939 |
function TTrackerGrid.GetAt(SelectionPos: TSelectionPos): Integer; |
| 939 |
begin |
940 |
begin |
|
|
941 |
Result := 0; |
|
|
942 |
|
| 940 |
with Patterns[SelectionPos.X]^[SelectionPos.Y] do |
943 |
with Patterns[SelectionPos.X]^[SelectionPos.Y] do |
| 941 |
case SelectionPos.SelectedPart of |
944 |
case SelectionPos.SelectedPart of |
| 942 |
cpNote: Result := Note; |
945 |
cpNote: Result := Note; |