summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: cfdb3d7)
raw | patch | inline | side by side (parent: cfdb3d7)
author | johanengelen <johanengelen@users.sourceforge.net> | |
Sun, 23 Dec 2007 21:52:57 +0000 (21:52 +0000) | ||
committer | johanengelen <johanengelen@users.sourceforge.net> | |
Sun, 23 Dec 2007 21:52:57 +0000 (21:52 +0000) |
src/ui/dialog/document-properties.cpp | patch | blob | history |
index 70e6a9ecc43aafc728da0d74066236207f50c036..5ffe3dcb89bccf3b3d72e5254caac96cc932c41f 100644 (file)
bool grids_present = false;
for (GSList const * l = nv->grids; l != NULL; l = l->next) {
Inkscape::CanvasGrid * grid = (Inkscape::CanvasGrid*) l->data;
+ if (!grid->repr->attribute("id")) continue; // update_gridspage is called again when "id" is added
_grids_notebook.append_page(grid->getWidget(), grid->repr->attribute("id"));
grids_present = true;
}