From: johanengelen Date: Sat, 29 Dec 2007 21:46:49 +0000 (+0000) Subject: always show grids when adding new grid X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=be3eef8ccafa95f8938e2d58f3410430f7a5e319;p=inkscape.git always show grids when adding new grid --- diff --git a/src/ui/dialog/document-properties.cpp b/src/ui/dialog/document-properties.cpp index 20413417b..d60f1f7ec 100644 --- a/src/ui/dialog/document-properties.cpp +++ b/src/ui/dialog/document-properties.cpp @@ -634,6 +634,9 @@ DocumentProperties::onNewGrid() Glib::ustring typestring = _grids_combo_gridtype.get_active_text(); CanvasGrid::writeNewGridToRepr(repr, doc, CanvasGrid::getGridTypeFromName(typestring.c_str())); + + // toggle grid showing to ON: + dt->showGrids(true); }