diff options
| author | John Smith <john.smith7545@yahoo.com> | 2012-10-31 00:25:06 +0000 |
|---|---|---|
| committer | John Smith <john.smith7545@yahoo.com> | 2012-10-31 00:25:06 +0000 |
| commit | 3c76aba3f2e1dfe8c0568a7d38a732cd2cf3dd8b (patch) | |
| tree | d58a94d7765f3f0f4ccc794a868e1c902cb92e51 /src/ui/widget/page-sizer.cpp | |
| parent | Fix for 1071426 : Swatches dialog doesn't update when swatch is renamed - fix... (diff) | |
| download | inkscape-3c76aba3f2e1dfe8c0568a7d38a732cd2cf3dd8b.tar.gz inkscape-3c76aba3f2e1dfe8c0568a7d38a732cd2cf3dd8b.zip | |
Fix for 1068763 : Opening 'File > Document Properties' dirties current document
(bzr r11855)
Diffstat (limited to 'src/ui/widget/page-sizer.cpp')
| -rw-r--r-- | src/ui/widget/page-sizer.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/ui/widget/page-sizer.cpp b/src/ui/widget/page-sizer.cpp index 90eb6a3fd..2ab72d6c7 100644 --- a/src/ui/widget/page-sizer.cpp +++ b/src/ui/widget/page-sizer.cpp @@ -245,12 +245,14 @@ PageSizer::PageSizer(Registry & _wr) _widgetRegistry(&_wr) { // set precision of scalar entry boxes + _wr.setUpdating (true); _dimensionWidth.setDigits(5); _dimensionHeight.setDigits(5); _marginTop.setDigits(5); _marginLeft.setDigits(5); _marginRight.setDigits(5); _marginBottom.setDigits(5); + _wr.setUpdating (false); //# Set up the Paper Size combo box _paperSizeListStore = Gtk::ListStore::create(_paperSizeListColumns); @@ -315,11 +317,13 @@ PageSizer::PageSizer(Registry & _wr) // Setting default custom unit to document unit SPDesktop *dt = SP_ACTIVE_DESKTOP; SPNamedView *nv = sp_desktop_namedview(dt); + _wr.setUpdating (true); if (nv->units) { _dimensionUnits.setUnit(nv->units); } else if (nv->doc_units) { _dimensionUnits.setUnit(nv->doc_units); } + _wr.setUpdating (false); //## Set up custom size frame _customFrame.set_label(_("Custom size")); |
