Fix bug when closing canfestival extension generated master view
authorlaurent
Mon, 27 Aug 2012 17:24:42 +0200
changeset 802 25731f454a64
parent 801 435e49e80832
child 803 6da9e558466e
child 804 13418e63f484
Fix bug when closing canfestival extension generated master view
canfestival/canfestival.py
--- a/canfestival/canfestival.py	Sat Aug 25 14:50:48 2012 +0200
+++ b/canfestival/canfestival.py	Mon Aug 27 17:24:42 2012 +0200
@@ -274,7 +274,7 @@
                 self._GeneratedMasterView = MasterViewer(app_frame.TabsOpened, manager, app_frame)
                 
             if self._GeneratedMasterView is not None:
-                app_frame.EditProjectElement(self._IECCodeView, name)
+                app_frame.EditProjectElement(self._GeneratedMasterView, name)
             
             return self._GeneratedMasterView
         else: