Skip to content

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed
 

‎src/plugins/grass/qgsgrassmodel.cpp

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -265,7 +265,11 @@ QString QgsGrassModelItem::info()
265265
char buffer[100];
266266

267267
Vect_get_map_box (&Map, &box );
268-
int proj = Vect_get_proj(&Map);
268+
269+
QgsGrass::setMapset( mGisbase, mLocation, mMapset );
270+
struct Cell_head window;
271+
G_get_window (&window);
272+
int proj = window.proj;
269273

270274
G_format_northing (box.N, buffer, proj);
271275
str += htmlTableRow ( "North", QString(buffer) );

0 commit comments

Comments
 (0)
Please sign in to comment.