mirror of https://github.com/zlatinb/muwire
repaint avatar later GitHub issue #144
parent
d5714c9ac3
commit
7906bbffdb
|
@ -145,7 +145,9 @@ class ViewProfileView {
|
|||
def mainImage = ImageScaler.scaleToMax(rawImage)
|
||||
|
||||
imagePanel.setImage(mainImage)
|
||||
imagePanel.repaint()
|
||||
SwingUtilities.invokeLater { // for some reason linux needs this.
|
||||
imagePanel.repaint()
|
||||
}
|
||||
}
|
||||
|
||||
private void drawThumbnail(ThumbnailIcon thumbNail) {
|
||||
|
|
Loading…
Reference in New Issue