Skip to content

Commit

Permalink
InsertEmptyLineAction: Fix undo
Browse files Browse the repository at this point in the history
  • Loading branch information
MonsterDruide1 committed Sep 28, 2022
1 parent 48580c9 commit 56b62ae
Showing 1 changed file with 2 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,8 @@ public void execute() {

@Override
public void revert() {
for (int i = amount - 1; i >= 0; i--){
int row = position+amount;
script.removeRow(row);
for (int i = 0; i < amount; i++){
script.removeRow(position);
}
}

Expand Down

0 comments on commit 56b62ae

Please sign in to comment.