Skip to content

Commit

Permalink
When add annotation. put focus in 'Contents' box
Browse files Browse the repository at this point in the history
  • Loading branch information
kerryland authored and kjk committed Sep 14, 2023
1 parent 3ec85fa commit 7683de3
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/EditAnnotations.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1345,6 +1345,7 @@ void AddAnnotationToEditWindow(EditAnnotationsWindow* ew, Annotation* annot) {
ew->annotations->Append(annot);
RebuildAnnotations(ew);
SelectAnnotationInListBox(ew, annot);
ew->editContents->SetFocus();
}

void SelectAnnotationInEditWindow(EditAnnotationsWindow* ew, Annotation* annot) {
Expand Down

0 comments on commit 7683de3

Please sign in to comment.