Skip to content

[Bug] wxGUI/history: special cmds runs twice #4321

@tmszi

Description

@tmszi

Describe the bug

Special cmds e.g. d.rast runs twice, after double left mouse click.

Special cmds are:

r"^d\..*|^r[3]?\.mapcalc$|^i.group$|^r.import$|^r.external$|^r.external.out$|^v.import$|^v.external$|^v.external.out$"

To reproduce

  1. Launch wxGUI
  2. Run "special" cmd from the wxGUI Console tab e.g. d.rast elevation
  3. Rerun same command from the wxGUI History tab tree (double left mouse click on the tree cmd node)
  4. Raster map elevation is added twice

Expected behavior

Special cmds e.g. d.rast should runs only once, after double left mouse click, same as other cmds.

System description

  • Operating System: all
  • GRASS GIS version: 8.4, 8.5.0dev

Metadata

Metadata

Assignees

Labels

GUIwxGUI relatedPythonRelated code is in PythonbugSomething isn't working

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions