X-Git-Url: http://git.asbjorn.biz/?p=swftools.git;a=blobdiff_plain;f=wx%2Fgui%2Foptions%2Fviewer.py;h=0432cacdd62761021a43b27a601623e4b74055a3;hp=e36eacc2eb24de4b8a93fbe1b24d7df5a81d1dda;hb=4372ebe4a0e2197cf8f9e5f7af1decadf7ef44f6;hpb=0b7e2e66ed62a28bf4e977c5e9a5dc601b2fcae2 diff --git a/wx/gui/options/viewer.py b/wx/gui/options/viewer.py index e36eacc..0432cac 100644 --- a/wx/gui/options/viewer.py +++ b/wx/gui/options/viewer.py @@ -104,6 +104,8 @@ class ViewerBook(wx.Listbook): win = self.makePanel(mod) self.AddPage(win, mod, imageId=idx) + if hasattr(mod, "default"): + self.SetSelection(idx) def makePanel(self, mod):