Skip to content
Snippets Groups Projects
Commit e3d05f56 authored by Paul McCarthy's avatar Paul McCarthy
Browse files

Newly opened views are focused.

parent 3c4ccf7f
No related branches found
No related tags found
No related merge requests found
......@@ -231,6 +231,7 @@ class FslViewFrame(wx.Frame):
self._glContext = panel.xcanvas.glContext
self._centrePane.AddPage(panel, strings.orthoTitle)
self._centrePane.SetSelection(self._centrePane.GetPageIndex(panel))
def addLightBoxPanel(self):
......@@ -246,6 +247,7 @@ class FslViewFrame(wx.Frame):
self._glContext = panel.canvas.glContext
self._centrePane.AddPage(panel, strings.lightBoxTitle)
self._centrePane.SetSelection(self._centrePane.GetPageIndex(panel))
def _addControlPanel(self, panel, title):
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment