summary refs log tree commit diff
path: root/src/UserInfoWidget.cc
diff options
context:
space:
mode:
authorKonstantinos Sideris <sideris.konstantin@gmail.com>2017-09-30 20:43:57 +0300
committerKonstantinos Sideris <sideris.konstantin@gmail.com>2017-09-30 20:44:18 +0300
commit748f48007721a6d6149091ef037412225ce97c7a (patch)
tree2fbd41319e6e2af52dbef95888b27aba9acc5447 /src/UserInfoWidget.cc
parentMerge pull request #3 from elopio/snapcraft (diff)
downloadnheko-748f48007721a6d6149091ef037412225ce97c7a.tar.xz
Add missing update calls
Diffstat (limited to 'src/UserInfoWidget.cc')
-rw-r--r--src/UserInfoWidget.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/UserInfoWidget.cc b/src/UserInfoWidget.cc
index 463b3c6c..a14836ac 100644
--- a/src/UserInfoWidget.cc
+++ b/src/UserInfoWidget.cc
@@ -156,6 +156,7 @@ UserInfoWidget::setAvatar(const QImage &img)
 {
         avatar_image_ = img;
         userAvatar_->setImage(img);
+        update();
 }
 
 void
@@ -168,6 +169,7 @@ UserInfoWidget::setDisplayName(const QString &name)
 
         displayNameLabel_->setText(display_name_);
         userAvatar_->setLetter(QChar(display_name_[0]));
+        update();
 }
 
 void