[GRASS-dev] [GRASS GIS] #948: wxGUI vector layer field broken
GRASS GIS
trac at osgeo.org
Wed Feb 17 07:43:46 EST 2010
#948: wxGUI vector layer field broken
-------------------------------------------+--------------------------------
Reporter: mmetz | Owner: grass-dev at lists.osgeo.org
Type: defect | Status: new
Priority: blocker | Milestone: 7.0.0
Component: wxGUI | Version: svn-releasebranch64
Keywords: wxGUI, vector layer selection | Platform: All
Cpu: All |
-------------------------------------------+--------------------------------
That integer scroll field in wxGUI dialogs is doubly broken in all
branches: first, it is locked to 1 and can not be changed, second, it does
not propagate that 1 to the module, the default of the module is used
instead which might be -1 (all layers).
The only way to use the wxGUI to accept another layer is to use grass7 and
there use that text drop-down field. Whatever is entered there is actually
used as option layer=X when calling the module.
I suggest to use a text drop-down field in all branches for the layer
option and leave the checks for legal arguments to modules (they should do
that anyway). Users can enter whatever they want, as for other options.
--
Ticket URL: <https://trac.osgeo.org/grass/ticket/948>
GRASS GIS <http://grass.osgeo.org>
More information about the grass-dev
mailing list