summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJohan B. C. Engelen <jbc.engelen@swissonline.ch>2010-02-14 22:26:06 +0000
committerJohan <Johan@JohannesMobile>2010-02-14 22:26:06 +0000
commitb3d6941711ea70c1989454ffba1472901117540c (patch)
tree892aac213f037e75fb05e8c6da271589e8c1576c
parentcolor the original-d path just like a normal path when an LPE is applied. (diff)
downloadinkscape-b3d6941711ea70c1989454ffba1472901117540c.tar.gz
inkscape-b3d6941711ea70c1989454ffba1472901117540c.zip
fix bug: when creating an xy-grid, respect the default unit setting. (the preferences setting was writing to the wrong place in the pref file)
(bzr r9086.1.4)
-rw-r--r--src/ui/dialog/inkscape-preferences.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ui/dialog/inkscape-preferences.cpp b/src/ui/dialog/inkscape-preferences.cpp
index 821a7c095..82bca9da0 100644
--- a/src/ui/dialog/inkscape-preferences.cpp
+++ b/src/ui/dialog/inkscape-preferences.cpp
@@ -1020,7 +1020,7 @@ void InkscapePreferences::initPageGrids()
_page_grids.add_line( false, "", _grids_notebook, "", "", false);
_grids_notebook.append_page(_grids_xy, CanvasGrid::getName( GRID_RECTANGULAR ));
_grids_notebook.append_page(_grids_axonom, CanvasGrid::getName( GRID_AXONOMETRIC ));
- _grids_xy_units.init("/options/grids/units");
+ _grids_xy_units.init("/options/grids/xy/units");
_grids_xy.add_line( false, _("Grid units:"), _grids_xy_units, "", "", false);
_grids_xy_origin_x.init("/options/grids/xy/origin_x", -10000.0, 10000.0, 0.1, 1.0, 0.0, false, false);
_grids_xy_origin_y.init("/options/grids/xy/origin_y", -10000.0, 10000.0, 0.1, 1.0, 0.0, false, false);