Format uid string correctly when creating keys.

Correct format :
	name <email> (comment)
Was :
	name <email> comment

Though the 'comment' part was visible with the cli gpg app, it was not
shown in kleopatra and in K7.
This commit is contained in:
SET
2020-11-16 14:39:57 +01:00
parent 0e9cc34ac0
commit 3ac566fbfe
3 changed files with 20 additions and 12 deletions

View File

@@ -332,7 +332,7 @@ void K7Main::DisplayUids(const WString& fullKeyID, bool secret)
if (m_ttbUids->columnCount() == 1)
{
m_ttbUids->addColumn(TR("Email"), 200);
m_ttbUids->addColumn(TR("Trust"), 100);
m_ttbUids->addColumn(TR("Trust"), 110);
m_ttbUids->addColumn(TR("Comment"), 300);
}
WTreeTableNode * rootNode = new WTreeTableNode(fullKeyID);