replace '-' with '.' in resource tab and transition/action SFC code
authorAndrey Skvortsov <andrej.skvortzov@gmail.com>
Mon, 26 Dec 2016 14:01:54 +0300
changeset 1615 af9b0ccb418e
parent 1614 f8f05f849831
child 1616 3638463d6e02
replace '-' with '.' in resource tab and transition/action SFC code


This makes tab names consistent with the way the same information is shown in variable panel.
editors/EditorPanel.py
--- a/editors/EditorPanel.py	Mon Dec 26 13:49:38 2016 +0300
+++ b/editors/EditorPanel.py	Mon Dec 26 14:01:54 2016 +0300
@@ -79,7 +79,7 @@
         self.ParentWindow.EditProjectElement(None, self.GetTagName(), True)
     
     def GetTitle(self):
-        return "-".join(self.TagName.split("::")[1:])
+        return ".".join(self.TagName.split("::")[1:])
     
     def GetIcon(self):
         return self.Icon