瀏覽代碼

Fix DBM manage layers page so that it can be accessed with mouse on Mac.

git-svn-id: https://svn.osgeo.org/grass/grass/trunk@47925 15284696-431f-4ddb-bdfa-cd5b030d7da7
Michael Barton 13 年之前
父節點
當前提交
4e60d13c99
共有 1 個文件被更改,包括 7 次插入6 次删除
  1. 7 6
      gui/wxpython/gui_modules/dbm.py

+ 7 - 6
gui/wxpython/gui_modules/dbm.py

@@ -2374,6 +2374,13 @@ class LayerBook(wx.Notebook):
             maxLayer = max(self.mapDBInfo.layers.keys())
         except ValueError:
             maxLayer = 0
+
+        # layer description
+        
+        layerBox = wx.StaticBox (parent=self.addPanel, id=wx.ID_ANY,
+                                 label=" %s " % (_("Layer description")))
+        layerSizer = wx.StaticBoxSizer(layerBox, wx.VERTICAL)
+        
         #
         # list of layer widgets (label, value)
         #
@@ -2457,12 +2464,6 @@ class LayerBook(wx.Notebook):
         
         pageSizer = wx.BoxSizer(wx.HORIZONTAL)
                 
-        # layer description
-        
-        layerBox = wx.StaticBox (parent=self.addPanel, id=wx.ID_ANY,
-                                 label=" %s " % (_("Layer description")))
-        layerSizer = wx.StaticBoxSizer(layerBox, wx.VERTICAL)
-        
         # data area
         dataSizer = wx.GridBagSizer(hgap=5, vgap=5)
         dataSizer.AddGrowableCol(1)