From 300b28bdfabc3e588bd39de19614d47b9d7f37e2 Mon Sep 17 00:00:00 2001 From: ingvar1995 Date: Mon, 10 Jul 2017 18:23:20 +0300 Subject: [PATCH] set alias fix --- toxygen/profile.py | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/toxygen/profile.py b/toxygen/profile.py index c9502e5..1d744db 100644 --- a/toxygen/profile.py +++ b/toxygen/profile.py @@ -663,15 +663,15 @@ class Profile(basecontact.BaseContact, Singleton): friend = self._contacts[num] name = friend.name dialog = QtWidgets.QApplication.translate('MainWindow', - "Enter new alias for friend {} or leave empty to use friend's name:") + "Enter new alias for friend {} or leave empty to use friend's name:") dialog = dialog.format(name) title = QtWidgets.QApplication.translate('MainWindow', - 'Set alias') - text, ok = QtGui.QInputDialog.getText(None, - title, - dialog, - QtWidgets.QLineEdit.Normal, - name) + 'Set alias') + text, ok = QtWidgets.QInputDialog.getText(None, + title, + dialog, + QtWidgets.QLineEdit.Normal, + name) if ok: settings = Settings.get_instance() aliases = settings['friends_aliases']