Inverted Console and LogViewer tabs in bottom Notebook
authorLaurent Bessard
Fri, 22 Mar 2013 00:45:09 +0100
changeset 994 0401295d9804
parent 993 7fbde4a19ec3
child 995 5dcb361a55ef
child 997 d6da2ccafca4
Inverted Console and LogViewer tabs in bottom Notebook
Beremiz.py
--- a/Beremiz.py	Fri Mar 22 00:18:51 2013 +0100
+++ b/Beremiz.py	Fri Mar 22 00:45:09 2013 +0100
@@ -385,12 +385,12 @@
         self.LogConsole.Bind(wx.EVT_LEFT_DCLICK, self.OnLogConsoleDClick)
         self.MainTabs["LogConsole"] = (self.LogConsole, _("Console"))
         self.BottomNoteBook.AddPage(*self.MainTabs["LogConsole"])
-        #self.BottomNoteBook.Split(self.BottomNoteBook.GetPageIndex(self.LogConsole), wx.RIGHT)
         
         self.LogViewer = LogViewer(self.BottomNoteBook, self)
         self.MainTabs["LogViewer"] = (self.LogViewer, _("PLC Log"))
         self.BottomNoteBook.AddPage(*self.MainTabs["LogViewer"])
-        self.BottomNoteBook.Split(self.BottomNoteBook.GetPageIndex(self.LogViewer), wx.RIGHT)
+        #self.BottomNoteBook.Split(self.BottomNoteBook.GetPageIndex(self.LogViewer), wx.RIGHT)
+        self.BottomNoteBook.Split(self.BottomNoteBook.GetPageIndex(self.LogConsole), wx.RIGHT)
         
         StatusToolBar = wx.ToolBar(self, -1, wx.DefaultPosition, wx.DefaultSize,
                 wx.TB_FLAT | wx.TB_NODIVIDER | wx.NO_BORDER)