repaint avatar later GitHub issue #144

dbus-notify
Zlatin Balevsky 2022-06-04 18:06:55 +01:00
parent d5714c9ac3
commit 7906bbffdb
No known key found for this signature in database
GPG Key ID: A72832072D525E41
1 changed files with 3 additions and 1 deletions

View File

@ -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) {