Commit 1a59a9e4 authored by Rolf Eike Beer's avatar Rolf Eike Beer
Browse files

Fix Q_ASSERT in KeysManager::slotPrimUid()

svn path=/branches/work/kgpg2/; revision=766820
parent 95b6ab39
......@@ -731,7 +731,7 @@ void KeysManager::slotDelUid()
void KeysManager::slotPrimUid()
{
KGpgNode *nd = iview->selectedNode();
Q_ASSERT(nd->getType() == ITYPE_UAT);
Q_ASSERT(nd->getType() == ITYPE_UID);
QProcess *process = new QProcess(this);
KConfigGroup config(KGlobal::config(), "General");
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment