[GRASS-SVN] r47927 - grass/branches/releasebranch_6_4/gui/wxpython/gui_modules

svn_grass at osgeo.org svn_grass at osgeo.org
Sun Aug 28 18:38:09 EDT 2011


Author: cmbarton
Date: 2011-08-28 15:38:08 -0700 (Sun, 28 Aug 2011)
New Revision: 47927

Modified:
   grass/branches/releasebranch_6_4/gui/wxpython/gui_modules/dbm.py
Log:
Fix ability to use mouse on 'manage layers' page. Backport from trunk.

Modified: grass/branches/releasebranch_6_4/gui/wxpython/gui_modules/dbm.py
===================================================================
--- grass/branches/releasebranch_6_4/gui/wxpython/gui_modules/dbm.py	2011-08-28 20:51:26 UTC (rev 47926)
+++ grass/branches/releasebranch_6_4/gui/wxpython/gui_modules/dbm.py	2011-08-28 22:38:08 UTC (rev 47927)
@@ -2380,6 +2380,13 @@
             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)
         #
@@ -2463,12 +2470,6 @@
         
         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)



More information about the grass-commit mailing list