Fix bug in canfestivel extension when Show Master Generated on Windows
authorlaurent
Fri, 07 Sep 2012 20:10:35 +0200
changeset 816 079ed646266f
parent 815 e4f24593a758
child 817 1a3cc2065216
Fix bug in canfestivel extension when Show Master Generated on Windows
canfestival/SlaveEditor.py
--- a/canfestival/SlaveEditor.py	Fri Sep 07 18:28:45 2012 +0200
+++ b/canfestival/SlaveEditor.py	Fri Sep 07 20:10:35 2012 +0200
@@ -55,7 +55,8 @@
         return []
     
     def RefreshConfNodeMenu(self, confnode_menu):
-        confnode_menu.Enable(ID_SLAVEEDITORCONFNODEMENUDSOTHERPROFILE, False)
+        if self.Editable:
+            confnode_menu.Enable(ID_SLAVEEDITORCONFNODEMENUDSOTHERPROFILE, False)
 
     def RefreshView(self):
         ConfTreeNodeEditor.RefreshView(self)