diff options
| author | Alex Leone <acleone~AT~gmail.com> | 2010-06-01 00:06:11 +0000 |
|---|---|---|
| committer | Alex Leone <acleone~AT~gmail.com> | 2010-06-01 00:06:11 +0000 |
| commit | 3c402d24e7fdce198befa42833574e802bfcd0e5 (patch) | |
| tree | 30ab3626c980134de384e37b6def483dab4726bc /src/ui/dialog/document-properties.cpp | |
| parent | Japanese translations updated by Masato HASHIMOTO (bug #514341) (diff) | |
| download | inkscape-3c402d24e7fdce198befa42833574e802bfcd0e5.tar.gz inkscape-3c402d24e7fdce198befa42833574e802bfcd0e5.zip | |
Makes the "Fit Page to Selection" margin options load from the opened file. (Bug #499942)
Fixed bugs:
- https://launchpad.net/bugs/499942
(bzr r9462)
Diffstat (limited to 'src/ui/dialog/document-properties.cpp')
| -rw-r--r-- | src/ui/dialog/document-properties.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/ui/dialog/document-properties.cpp b/src/ui/dialog/document-properties.cpp index 86baa85cd..33fdf8327 100644 --- a/src/ui/dialog/document-properties.cpp +++ b/src/ui/dialog/document-properties.cpp @@ -825,6 +825,7 @@ DocumentProperties::update() double const doc_w_px = sp_document_width(sp_desktop_document(dt)); double const doc_h_px = sp_document_height(sp_desktop_document(dt)); _page_sizer.setDim (doc_w_px, doc_h_px); + _page_sizer.updateFitMarginsUI(SP_OBJECT_REPR(nv)); //-----------------------------------------------------------guide page |
