name && status bug fixes

This commit is contained in:
ingvar1995
2016-06-24 15:00:13 +03:00
parent 27a5735dc1
commit 5cfa484a67
2 changed files with 6 additions and 5 deletions

View File

@@ -258,7 +258,7 @@ class ProfileSettings(CenteredWidget):
def closeEvent(self, event):
profile = Profile.get_instance()
profile.set_name(self.nick.text().encode('utf-8'))
profile.set_name(self.nick.text())
profile.set_status_message(self.status_message.text().encode('utf-8'))
profile.set_status(self.status.currentIndex())