Skip to content
Permalink
Browse files
prevent crash when exporting spatial bookmarks (fix #16345)
(cherry picked from commit 58a8478)
  • Loading branch information
alexbruy committed May 10, 2017
1 parent 4ae8065 commit d139119a8dbac7130a961ca7efdd014027ab1a7e
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/app/qgsbookmarks.cpp
@@ -348,7 +348,7 @@ void QgsBookmarks::exportToXML()
doc.appendChild( root );

int rowCount = mModel->rowCount();
int colCount = mModel->columnCount();
int colCount = mModel->columnCount() - 1; // exclude virtual "In project" column

QList<QString> headerList;
headerList << "id" << "name" << "project" << "xmin" << "ymin" << "xmax" << "ymax" << "sr_id";

0 comments on commit d139119

Please sign in to comment.