MapFramePanel class OnMap() event method is called twice if you click on the added map frame rectangle. Once directly from construct method and second time as registred select map widget event handler. When events are triggered, one OnMap() method call get rasterTypeRadio widget incorrect value (raster type) and than is called g.region command with wrong raster map parameter (map type is vector). res = grass.read_command("g.region", flags='gu', raster=map)
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|