--- a/Beremiz.py Thu Jun 07 01:14:58 2012 +0200
+++ b/Beremiz.py Fri Jun 08 12:39:37 2012 +0200
@@ -438,7 +438,7 @@
# Add beremiz's icon in top left corner of the frame
self.SetIcon(wx.Icon(Bpath( "images", "brz.ico"), wx.BITMAP_TYPE_ICO))
- if projectOpen is None and self.Config.HasEntry("currenteditedproject"):
+ if ctr is None and projectOpen is None and self.Config.HasEntry("currenteditedproject"):
projectOpen = str(self.Config.Read("currenteditedproject"))
if projectOpen == "":
projectOpen = None