[GRASS-dev] [GRASS GIS] #2204: Double click on measuring tools fires an event of previous tool

#2204: Double click on measuring tools fires an event of previous tool
-------------------------+--------------------------------------------------
Reporter: marisn | Owner: grass-dev@…
     Type: defect | Status: new
Priority: minor | Milestone: 7.0.0
Component: wxGUI | Version: svn-trunk
Keywords: | Platform: Unspecified
      Cpu: Unspecified |
-------------------------+--------------------------------------------------
There is something wrong with event handling for both measurement tools.
It seems that final double click fires also an event of previously active
tool. It's a minor annoyance, still a bug.

Steps to reproduce:
  * Click on the Query tool;
  * Start the line/area measurement tool;
  * Measure a line/area;
  * Double click to finish.
Result:
A vector/raster query result dialog opens.

Expected result: Measure tool is deactivated and no other actions are
taken.

GRASS version: 7.0.svn
GRASS SVN Revision: 58952M
Build Date: 2014-01-08
GDAL/OGR: 1.10.1
PROJ.4: 4.8.0
GEOS: 3.4.2
SQLite: 3.8.2
Python: 2.7.6
wxPython: 3.0.0.0

--
Ticket URL: <http://trac.osgeo.org/grass/ticket/2204&gt;
GRASS GIS <http://grass.osgeo.org>