mirror of https://github.com/zlatinb/muwire
explicitly request focus when the View Profile frame opens. GitHub issue #152
parent
27d37e55f4
commit
c5ab49304e
|
@ -128,6 +128,7 @@ class ViewProfileView {
|
||||||
window.addWindowListener(new WindowAdapter() {
|
window.addWindowListener(new WindowAdapter() {
|
||||||
@Override
|
@Override
|
||||||
void windowOpened(WindowEvent e) {
|
void windowOpened(WindowEvent e) {
|
||||||
|
window.requestFocus()
|
||||||
if (model.profileHeader != null) {
|
if (model.profileHeader != null) {
|
||||||
Icon thumbNail = new ThumbnailIcon(model.profileHeader.getThumbNail())
|
Icon thumbNail = new ThumbnailIcon(model.profileHeader.getThumbNail())
|
||||||
drawThumbnail(thumbNail)
|
drawThumbnail(thumbNail)
|
||||||
|
|
Loading…
Reference in New Issue