From 24d3a4e9821e4fc857ce63112f0e1a50b3ce3644 Mon Sep 17 00:00:00 2001 From: DenioD <41270280+DenioD@users.noreply.github.com> Date: Fri, 1 May 2020 00:18:31 +0200 Subject: [PATCH] fix typo --- src/addressbook.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/addressbook.cpp b/src/addressbook.cpp index 4725959..975c3e5 100644 --- a/src/addressbook.cpp +++ b/src/addressbook.cpp @@ -166,7 +166,7 @@ void AddressBook::open(MainWindow* parent, QLineEdit* target) // Add new address button QObject::connect(ab.addNew, &QPushButton::clicked, [&] () { auto addr = ab.addr->text().trimmed(); - auto myAddr = ab.addr->text().trimmed(); + auto myAddr = ab.addr_chat->text().trimmed(); QString newLabel = ab.label->text(); QString cid = QUuid::createUuid().toString(QUuid::WithoutBraces);