Project tree: Clicking on ConfigTreeNode should have same behaviour as for POUS and other IEC types : simple click to select and double click to open.
authorEdouard Tisserant <edouard.tisserant@gmail.com>
Wed, 18 Nov 2020 23:06:16 +0100
changeset 2695 a4704fb40b0b
parent 2694 3225990eb33e
child 2696 9bd639e9124e
Project tree: Clicking on ConfigTreeNode should have same behaviour as for POUS and other IEC types : simple click to select and double click to open.
ConfigTreeNode.py
--- a/ConfigTreeNode.py	Wed Nov 18 10:15:44 2020 +0100
+++ b/ConfigTreeNode.py	Wed Nov 18 23:06:16 2020 +0100
@@ -483,7 +483,7 @@
             if name is None:
                 name = self.CTNFullName()
             app_frame = self.GetCTRoot().AppFrame
-            app_frame.EditProjectElement(view, name)
+            app_frame.EditProjectElement(view, name, onlyopened)
 
         return view