From be3eef8ccafa95f8938e2d58f3410430f7a5e319 Mon Sep 17 00:00:00 2001 From: johanengelen Date: Sat, 29 Dec 2007 21:46:49 +0000 Subject: [PATCH] always show grids when adding new grid --- src/ui/dialog/document-properties.cpp | 3 +++ 1 file changed, 3 insertions(+) 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); } -- 2.30.2