Skip to content

Commit

Permalink
prevent crash when exporting spatial bookmarks (fix #16345)
Browse files Browse the repository at this point in the history
  • Loading branch information
alexbruy committed May 10, 2017
1 parent aa021be commit 58a8478
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/app/qgsbookmarks.cpp
Expand Up @@ -345,7 +345,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
Expand Down

0 comments on commit 58a8478

Please sign in to comment.