utf-8 everywhere, fixed bug with name and status, saving added.

This commit is contained in:
ingvar1995 2016-03-01 00:23:03 +03:00
parent ff7aa1794c
commit 5576f0423c
4 changed files with 15 additions and 12 deletions

View file

@ -138,8 +138,8 @@ class ProfileSettings(QtGui.QWidget):
def closeEvent(self, event):
profile = Profile.get_instance()
profile.name = self.nick.text()
profile.status_message = self.status.text()
profile.set_name(self.nick.text().encode('utf-8'))
profile.set_status_message(self.status.text().encode('utf-8'))
class NetworkSettings(QtGui.QWidget):