From 3c402d24e7fdce198befa42833574e802bfcd0e5 Mon Sep 17 00:00:00 2001 From: Alex Leone Date: Mon, 31 May 2010 17:06:11 -0700 Subject: Makes the "Fit Page to Selection" margin options load from the opened file. (Bug #499942) Fixed bugs: - https://launchpad.net/bugs/499942 (bzr r9462) --- src/ui/dialog/document-properties.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'src/ui/dialog/document-properties.cpp') 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 -- cgit v1.2.3