Skip to content

Commit

Permalink
Fix cursor position if a new premise is added
Browse files Browse the repository at this point in the history
  • Loading branch information
kovzol committed Nov 11, 2023
1 parent c30749c commit 1cdef5d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions qt/ProofArea.qml
Original file line number Diff line number Diff line change
Expand Up @@ -394,8 +394,8 @@ Item {
onTriggered: {
theData.insertLine(index + 1,index+2,"","premise",false,false,false,0,[-1])
proofModel.updateLines();
proofModel.updateRefs(0,true);
listView.currentIndex = 0;
proofModel.updateRefs(index + 1,true);
listView.currentIndex = index + 1;
cConnector.evalText = "Evaluate Proof";
}
}
Expand Down

0 comments on commit 1cdef5d

Please sign in to comment.