From 543ff57651c2b194e45f2d472a3e0d9ee08e4afc Mon Sep 17 00:00:00 2001
From: Inso <insomniak.fr@gmail.com>
Date: Wed, 27 Jan 2016 20:08:39 +0100
Subject: [PATCH] Remove copy membership as it's not available right now

---
 src/sakia/gui/widgets/context_menu.py | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/src/sakia/gui/widgets/context_menu.py b/src/sakia/gui/widgets/context_menu.py
index 9c5d6a06..e328bf39 100644
--- a/src/sakia/gui/widgets/context_menu.py
+++ b/src/sakia/gui/widgets/context_menu.py
@@ -63,7 +63,8 @@ class ContextMenu(QObject):
         if menu._app.preferences['expert_mode']:
             copy_membership = QAction(menu.qmenu.tr("Copy membership document to clipboard"), menu.qmenu.parent())
             copy_membership.triggered.connect(lambda checked, i=identity: menu.copy_membership_to_clipboard(i))
-            menu.qmenu.addAction(copy_membership)
+            # TODO: Copy membership when written field is available
+            #menu.qmenu.addAction(copy_membership)
 
             copy_selfcert = QAction(menu.qmenu.tr("Copy self-certification document to clipboard"), menu.qmenu.parent())
             copy_selfcert.triggered.connect(lambda checked, i=identity: menu.copy_selfcert_to_clipboard(i))
-- 
GitLab