Skip to content

Commit

Permalink
Add the new premise below the current line
Browse files Browse the repository at this point in the history
  • Loading branch information
kovzol committed Nov 11, 2023
1 parent db2c284 commit a2d59f6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion qt/ProofArea.qml
Original file line number Diff line number Diff line change
Expand Up @@ -392,7 +392,7 @@ Item {
Action{
text: "Add Premise"
onTriggered: {
theData.insertLine(0,1,"","premise",false,false,false,0,[-1])
theData.insertLine(index + 1,index+2,"","premise",false,false,false,0,[-1])
proofModel.updateLines();
proofModel.updateRefs(0,true);
listView.currentIndex = 0;
Expand Down

0 comments on commit a2d59f6

Please sign in to comment.