Skip to content

Commit

Permalink
explicitly request focus when the View Profile frame opens. GitHub is…
Browse files Browse the repository at this point in the history
…sue #152
  • Loading branch information
zlatinb committed Jun 22, 2022
1 parent 27d37e5 commit c5ab493
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -128,6 +128,7 @@ class ViewProfileView {
window.addWindowListener(new WindowAdapter() {
@Override
void windowOpened(WindowEvent e) {
window.requestFocus()
if (model.profileHeader != null) {
Icon thumbNail = new ThumbnailIcon(model.profileHeader.getThumbNail())
drawThumbnail(thumbNail)
Expand Down

0 comments on commit c5ab493

Please sign in to comment.