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. svghmi
authorEdouard Tisserant <edouard.tisserant@gmail.com>
Wed, 18 Nov 2020 23:06:16 +0100
branchsvghmi
changeset 3071 e1145e6bdeec
parent 3070 013374b6cdb9
child 3073 1f5a5282c41f
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	Mon Nov 02 10:56:09 2020 +0100
+++ b/ConfigTreeNode.py	Wed Nov 18 23:06:16 2020 +0100
@@ -484,7 +484,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