#832: menu tree in help menu won't run commands
----------------------+-----------------------------------------------------
Reporter: cmbarton | Owner: grass-dev@lists.osgeo.org
Type: defect | Status: new
Priority: normal | Milestone: 6.5.0
Component: wxGUI | Version: svn-develbranch6
Keywords: | Platform: All
Cpu: All |
----------------------+-----------------------------------------------------
Double clicking a menu tree item in the the help/menu tree will not run as
written.
[[BR]]
[[BR]]
RunMenuCmd will only accept an event from selecting a menu object. It
won't run if you pass it a command. Probably a command from this interface
needs to be run through the command-line interface code rather than the
menu event handlers. [[BR]][[BR]]
Also, the static text box needs to be instantiated before its contents are
defined or it is not accessible to Mac users (I don't know about Windows).
#832: menu tree in help menu won't run commands
-----------------------+----------------------------------------------------
Reporter: cmbarton | Owner: grass-dev@lists.osgeo.org
Type: defect | Status: closed
Priority: normal | Milestone: 6.5.0
Component: wxGUI | Version: svn-develbranch6
Resolution: fixed | Keywords:
Platform: All | Cpu: All
-----------------------+----------------------------------------------------
Changes (by cmbarton):
* status: new => closed
* resolution: => fixed
Comment:
Fixed in develbranch_6 r39922 and backported to trunk.
#832: menu tree in help menu won't run commands
-----------------------+----------------------------------------------------
Reporter: cmbarton | Owner: grass-dev@lists.osgeo.org
Type: defect | Status: closed
Priority: normal | Milestone: 6.5.0
Component: wxGUI | Version: svn-develbranch6
Resolution: fixed | Keywords:
Platform: All | Cpu: All
-----------------------+----------------------------------------------------
Comment (by martinl):
Replying to [comment:1 cmbarton]:
> Fixed in develbranch_6 r39922 and backported to trunk.
Partly reverted in r39925. Menu items are not only GRASS commands, eval()
is needed to used instead of RunCmd().
#832: menu tree in help menu won't run commands
-----------------------+----------------------------------------------------
Reporter: cmbarton | Owner: grass-dev@lists.osgeo.org
Type: defect | Status: closed
Priority: normal | Milestone: 6.5.0
Component: wxGUI | Version: svn-develbranch6
Resolution: fixed | Keywords:
Platform: All | Cpu: All
-----------------------+----------------------------------------------------
Comment (by cmbarton):
#832: menu tree in help menu won't run commands
-----------------------+----------------------------------------------------
Reporter: cmbarton | Owner: grass-dev@lists.osgeo.org
Type: defect | Status: closed
Priority: normal | Milestone: 6.5.0
Component: wxGUI | Version: svn-develbranch6
Resolution: fixed | Keywords:
Platform: All | Cpu: All
-----------------------+----------------------------------------------------
Comment (by cmbarton):
r39928 should make this work with the rest of the menu items.