Skip to content

Commit a2d59f6

Browse files
committed
Add the new premise below the current line
1 parent db2c284 commit a2d59f6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

qt/ProofArea.qml

+1-1
Original file line numberDiff line numberDiff line change
@@ -392,7 +392,7 @@ Item {
392392
Action{
393393
text: "Add Premise"
394394
onTriggered: {
395-
theData.insertLine(0,1,"","premise",false,false,false,0,[-1])
395+
theData.insertLine(index + 1,index+2,"","premise",false,false,false,0,[-1])
396396
proofModel.updateLines();
397397
proofModel.updateRefs(0,true);
398398
listView.currentIndex = 0;

0 commit comments

Comments
 (0)