summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorJohan B. C. Engelen <jbc.engelen@swissonline.ch>2007-12-29 21:46:49 +0000
committerjohanengelen <johanengelen@users.sourceforge.net>2007-12-29 21:46:49 +0000
commit9b7c9917e8a3dd20d60d43f2a4fd89862f42aa32 (patch)
tree49d67d47eea9047262d38fce2a1f19408f091a3f /src
parentFixing bug #167416 (diff)
downloadinkscape-9b7c9917e8a3dd20d60d43f2a4fd89862f42aa32.tar.gz
inkscape-9b7c9917e8a3dd20d60d43f2a4fd89862f42aa32.zip
always show grids when adding new grid
(bzr r4333)
Diffstat (limited to 'src')
-rw-r--r--src/ui/dialog/document-properties.cpp3
1 files changed, 3 insertions, 0 deletions
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);
}