Fix bug when restoring perspective with internationalization
authorLaurent Bessard
Wed, 05 Sep 2012 12:38:41 +0200
changeset 760 7cadc624cc74
parent 759 264637370f8f
child 761 996515c4b394
Fix bug when restoring perspective with internationalization
PLCOpenEditor.py
--- a/PLCOpenEditor.py	Wed Sep 05 11:27:54 2012 +0200
+++ b/PLCOpenEditor.py	Wed Sep 05 12:38:41 2012 +0200
@@ -966,7 +966,7 @@
         
         try:
             if self.Config.HasEntry("perspective"):
-                self.AUIManager.LoadPerspective(str(self.Config.Read("perspective")))
+                self.AUIManager.LoadPerspective(unicode(self.Config.Read("perspective")))
         
             if self.Config.HasEntry("notebooks"):
                 notebooks = cPickle.loads(str(self.Config.Read("notebooks")))