Fix segmentation fault when manipulating tabs
authorLaurent Bessard
Tue, 31 Jul 2012 17:45:33 +0200
changeset 734 eeac14463bcf
parent 733 c4424d8eebb0
child 735 99699ca6eda4
Fix segmentation fault when manipulating tabs
PLCOpenEditor.py
--- a/PLCOpenEditor.py	Tue Jul 31 17:45:06 2012 +0200
+++ b/PLCOpenEditor.py	Tue Jul 31 17:45:33 2012 +0200
@@ -1511,8 +1511,7 @@
                     self.EnsureTabVisible(self.DebugVariablePanel)
                     wx.CallAfter(self.PouInstanceVariablesPanel.SetPouType, tagname, instance_path)
             wx.CallAfter(self._Refresh, FILEMENU, EDITMENU, DISPLAYMENU, EDITORTOOLBAR)
-        else:
-            event.Skip()
+        event.Skip()
         
     def RefreshEditor(self):
         selected = self.TabsOpened.GetSelection()