Opened 15 years ago

Closed 13 years ago

#948 closed defect (fixed)

wxGUI vector layer field broken

Reported by: mmetz Owned by: grass-dev@…
Priority: blocker Milestone: 7.0.0
Component: wxGUI Version: svn-releasebranch64
Keywords: wxGUI, vector layer selection Cc:
CPU: All Platform: All

Description

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.

Change History (1)

comment:1 by mmetz, 13 years ago

Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.