[GRASS-SVN] r60611 - grass/trunk/gui/wxpython/mapswipe

svn_grass at osgeo.org svn_grass at osgeo.org
Fri May 30 08:16:47 PDT 2014


Author: annakrat
Date: 2014-05-30 08:16:47 -0700 (Fri, 30 May 2014)
New Revision: 60611

Modified:
   grass/trunk/gui/wxpython/mapswipe/dialogs.py
Log:
wxGUI/mapswipe: missing part of commit r60594

Modified: grass/trunk/gui/wxpython/mapswipe/dialogs.py
===================================================================
--- grass/trunk/gui/wxpython/mapswipe/dialogs.py	2014-05-30 15:14:49 UTC (rev 60610)
+++ grass/trunk/gui/wxpython/mapswipe/dialogs.py	2014-05-30 15:16:47 UTC (rev 60611)
@@ -28,7 +28,7 @@
 from core.layerlist import LayerList
 from core.settings import UserSettings
 from gui_core.simplelmgr import SimpleLayerManager, SIMPLE_LMGR_RASTER, \
-   SIMPLE_LMGR_VECTOR, SIMPLE_LMGR_TB_LEFT, SIMPLE_LMGR_TB_RIGHT
+   SIMPLE_LMGR_VECTOR, SIMPLE_LMGR_RGB, SIMPLE_LMGR_TB_LEFT, SIMPLE_LMGR_TB_RIGHT
 
 from grass.pydispatch.signal import Signal
 
@@ -137,10 +137,10 @@
         sizer = wx.BoxSizer(wx.HORIZONTAL)
 
         self._firstLmgr = SimpleLayerManager(parent=panel, layerList=self._firstLayerList,
-                                             lmgrStyle=SIMPLE_LMGR_RASTER |
+                                             lmgrStyle=SIMPLE_LMGR_RASTER | SIMPLE_LMGR_RGB |
                                              SIMPLE_LMGR_VECTOR | SIMPLE_LMGR_TB_LEFT)
         self._secondLmgr = SimpleLayerManager(parent=panel, layerList=self._secondLayerList,
-                                              lmgrStyle=SIMPLE_LMGR_RASTER |
+                                              lmgrStyle=SIMPLE_LMGR_RASTER | SIMPLE_LMGR_RGB |
                                               SIMPLE_LMGR_VECTOR | SIMPLE_LMGR_TB_RIGHT)
         sizer.Add(self._firstLmgr, proportion=1, flag=wx.EXPAND | wx.ALL, border=5)
         sizer.Add(self._secondLmgr, proportion=1, flag=wx.EXPAND | wx.ALL, border=5)



More information about the grass-commit mailing list