Skip to content

Commit

Permalink
Input editor: insert a copy of selected frame instead of blank frame
Browse files Browse the repository at this point in the history
  • Loading branch information
clementgallet committed Mar 25, 2022
1 parent 9b9e2fa commit 9d6a537
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@
* Rework the ram search entirely (#268)
* Parsing /proc/self/maps no longer requires loading the entire file in memory
* Write a proper PRNG to fill /dev/urandom (#474)
* Input editor: insert a copy of selected frame instead of blank frame

### Fixed

Expand Down
3 changes: 1 addition & 2 deletions src/program/ui/InputEditorModel.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -492,8 +492,7 @@ bool InputEditorModel::insertRows(int row, int count, const QModelIndex &parent)

beginInsertRows(parent, row, row+count-1);

AllInputs ai;
ai.emptyInputs();
AllInputs ai = movie->inputs->input_list[row];

for (int i=0; i<count; i++) {
movie->inputs->insertInputsBefore(ai, row);
Expand Down

0 comments on commit 9d6a537

Please sign in to comment.