geopython / MetaSearch

*** We have moved! MetaSearch is now a core QGIS plugin! (2014-11-30). See QGIS repository
https://hub.qgis.org/wiki/quantum-gis/MetaSearch
Other
4 stars 12 forks source link

entering on a search, makes you set extent to current bbox #52

Closed rduivenvoorde closed 10 years ago

rduivenvoorde commented 10 years ago

in current version, if I enter a keyword to search for, and just press 'enter' (instead of clicking the 'search' button), the Xmax, Xmin, Ymax, Ymin is rewitten, to current bbox of the mapcanvas. Which when you start with an empty map is a bbox of zero meters/degrees, which makes a next search have zero results because of the (wrong) extent taken into account.

I've tried to look into the code what is triggering this, but only thing I could come up with is that the button 'Map extent' is silently activated/clicked because of the 'enter' action...

tomkralidis commented 10 years ago

@rduivenvoorde fixed in 2c81ce14142a322c932b6373bfaeb8a6acb5a693. Can you verify?

rduivenvoorde commented 10 years ago

yep, ok now. Thanks. Should have found that myself :-)