# HG changeset patch # User Laurent Bessard # Date 1346841521 -7200 # Node ID 7cadc624cc748611b7b9bce30aa3e863626a2e17 # Parent 264637370f8f6b8861001799f1a0c622def10aca Fix bug when restoring perspective with internationalization diff -r 264637370f8f -r 7cadc624cc74 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")))