Browse Source

g.gui.mapswipe: fix select raster layout (wxPython3)

git-svn-id: https://svn.osgeo.org/grass/grass/branches/releasebranch_7_0@68274 15284696-431f-4ddb-bdfa-cd5b030d7da7
Martin Landa 9 years ago
parent
commit
ccabc1a45b
1 changed files with 1 additions and 1 deletions
  1. 1 1
      gui/wxpython/mapswipe/dialogs.py

+ 1 - 1
gui/wxpython/mapswipe/dialogs.py

@@ -101,9 +101,9 @@ class SwipeMapDialog(wx.Dialog):
         mainSizer.Add(item=self.btnSizer, proportion=0,
                       flag=wx.EXPAND | wx.ALL | wx.ALIGN_CENTER, border=5)
         self.mainSizer = mainSizer
+        self._switchMode(simple=True)
         self.SetSizer(mainSizer)
         mainSizer.Fit(self)
-        self._switchMode(simple=True)
 
     def _createSimplePanel(self):
         panel = wx.Panel(self)