[GRASS-dev] [GRASS GIS] #1882: new query display needs to update on mouse click

GRASS GIS trac at osgeo.org
Tue Feb 12 22:47:54 PST 2013


#1882: new query display needs to update on mouse click
-------------------------+--------------------------------------------------
 Reporter:  cmbarton     |       Owner:  grass-dev@…              
     Type:  defect       |      Status:  new                      
 Priority:  normal       |   Milestone:  7.0.0                    
Component:  wxGUI        |     Version:  svn-trunk                
 Keywords:  query        |    Platform:  Unspecified              
      Cpu:  Unspecified  |  
-------------------------+--------------------------------------------------

Comment(by cmbarton):

 It is in line 1187 of mapwindow.py

 Change it from:

 self.frame.Query(self.mouse['begin'][0],self.mouse['begin'][1])

 to

 self.frame.Query(self.mouse['end'][0],self.mouse['end'][1])

 and it works fine. It should work fine on other platforms too, but you
 should check.

 Michael

-- 
Ticket URL: <http://trac.osgeo.org/grass/ticket/1882#comment:16>
GRASS GIS <http://grass.osgeo.org>



More information about the grass-dev mailing list