diff options
| author | Diederik van Lierop <mail@diedenrezi.nl> | 2009-01-31 13:51:52 +0000 |
|---|---|---|
| committer | dvlierop2 <dvlierop2@users.sourceforge.net> | 2009-01-31 13:51:52 +0000 |
| commit | 07d32ff9bade493f2549e8e90c32d11ba12b199d (patch) | |
| tree | e23af978f1919af10ac80d315f90d8323bb2d0ee /src/ui/dialog/document-properties.cpp | |
| parent | * [INTL:pl] Further small updates to the Polish translation (diff) | |
| download | inkscape-07d32ff9bade493f2549e8e90c32d11ba12b199d.tar.gz inkscape-07d32ff9bade493f2549e8e90c32d11ba12b199d.zip | |
Store the snapper tolerances in the snap-preferences instead of in each snapper individualy. This way we don't have to update all snappers when the namedview has been updated (and we can get rid of the _update_snap_distances() call)
(bzr r7208)
Diffstat (limited to 'src/ui/dialog/document-properties.cpp')
| -rw-r--r-- | src/ui/dialog/document-properties.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/ui/dialog/document-properties.cpp b/src/ui/dialog/document-properties.cpp index d472715c4..ae95244cd 100644 --- a/src/ui/dialog/document-properties.cpp +++ b/src/ui/dialog/document-properties.cpp @@ -794,9 +794,9 @@ DocumentProperties::update() //-----------------------------------------------------------snap page - _rsu_sno.setValue (nv->objecttolerance); - _rsu_sn.setValue (nv->gridtolerance); - _rsu_gusn.setValue (nv->guidetolerance); + _rsu_sno.setValue (nv->snap_manager.snapprefs.getObjectTolerance()); + _rsu_sn.setValue (nv->snap_manager.snapprefs.getGridTolerance()); + _rsu_gusn.setValue (nv->snap_manager.snapprefs.getGuideTolerance()); //-----------------------------------------------------------grids page |
