Explorar o código

wxGUI: attempt to fix about dialog on Windows

git-svn-id: https://svn.osgeo.org/grass/grass/trunk@58013 15284696-431f-4ddb-bdfa-cd5b030d7da7
Martin Landa %!s(int64=11) %!d(string=hai) anos
pai
achega
1046066721
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      gui/wxpython/gui_core/ghelp.py

+ 1 - 1
gui/wxpython/gui_core/ghelp.py

@@ -63,8 +63,8 @@ class AboutWindow(wx.Frame):
                            (_("Translators"), self._pageTranslators()),
                            (_("Translation status"), self._pageStats())):
             self.aboutNotebook.AddPage(page = win, text = title)
-        self.aboutNotebook.Refresh()
         wx.CallAfter(self.aboutNotebook.SetSelection, 0)
+        wx.CallAfter(self.aboutNotebook.Refresh)
         
         # buttons
         self.btnClose = wx.Button(parent = self.panel, id = wx.ID_CLOSE)