[GRASS-dev] [GRASS GIS] #948: wxGUI vector layer field broken

#948: wxGUI vector layer field broken
-------------------------------------------+--------------------------------
Reporter: mmetz | Owner: grass-dev@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&gt;
GRASS GIS <http://grass.osgeo.org>

#948: wxGUI vector layer field broken
----------------------+-----------------------------------------------------
  Reporter: mmetz | Owner: grass-dev@…
      Type: defect | Status: closed
  Priority: blocker | Milestone: 7.0.0
Component: wxGUI | Version: svn-releasebranch64
Resolution: fixed | Keywords: wxGUI, vector layer selection
  Platform: All | Cpu: All
----------------------+-----------------------------------------------------
Changes (by mmetz):

  * status: new => closed
  * resolution: => fixed

--
Ticket URL: <https://trac.osgeo.org/grass/ticket/948#comment:1&gt;
GRASS GIS <http://grass.osgeo.org>