summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRolf Eike Beer <kde@opensource.sf-tec.de>2012-02-14 19:09:43 (GMT)
committerRolf Eike Beer <kde@opensource.sf-tec.de>2012-02-14 19:09:43 (GMT)
commit622ecfca7ed0ab15acc7cf43f7076062e0c6ffaf (patch)
tree5f4094c0641af72c8cabcea5be3422062dc3ad13
parent1c8f07115904116a450f927ca407fa320f267714 (diff)
fix adding keys to group in group editor
FIXED-IN: 4.8.1
-rw-r--r--groupedit.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/groupedit.cpp b/groupedit.cpp
index f261508..81166df 100644
--- a/groupedit.cpp
+++ b/groupedit.cpp
@@ -90,7 +90,7 @@ groupEdit::groupAdd()
for (int i = 0; i < sel.count(); i++) {
if (sel.at(i).column() != 0)
continue;
- KGpgNode *nd = m_out->nodeForIndex(sel.at(i));
+ KGpgNode *nd = m_out->nodeForIndex(m_outFilter->mapToSource(sel.at(i)));
members->append(nd);
}
m_in->invalidate();
@@ -119,7 +119,7 @@ groupEdit::groupRemove()
void
groupEdit::groupAdd(const QModelIndex &index)
{
- KGpgNode *nd = m_out->nodeForIndex(index);
+ KGpgNode *nd = m_out->nodeForIndex(m_outFilter->mapToSource(index));
members->append(nd);
m_in->invalidate();
m_out->invalidate();