r19023 by jghali - #12208: Snapping properties not set correctly in "Page" menu when switching between docs

scribus-commit scribus-commit at lists.scribus.net
Tue Apr 8 22:14:01 UTC 2014


Author: jghali
Date: Tue Apr  8 22:14:01 2014
New Revision: 19023

URL: http://scribus.net/websvn/listing.php?repname=Scribus&sc=1&rev=19023
Log:
#12208: Snapping properties not set correctly in "Page" menu when switching between docs

Modified:
    trunk/Scribus/scribus/appmodehelper.cpp

Modified: trunk/Scribus/scribus/appmodehelper.cpp
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=19023&path=/trunk/Scribus/scribus/appmodehelper.cpp
==============================================================================
--- trunk/Scribus/scribus/appmodehelper.cpp (original)
+++ trunk/Scribus/scribus/appmodehelper.cpp Tue Apr  8 22:14:01 2014
@@ -398,6 +398,10 @@
 		(*scrActions)["toolsPDFAnnot3D"]->setEnabled(true);
 #endif
 	}
+
+	(*scrActions)["viewSnapToGrid"]->setChecked(doc->SnapGrid);
+	(*scrActions)["viewSnapToGuides"]->setChecked(doc->SnapGuides);
+	(*scrActions)["viewSnapToElements"]->setChecked(doc->SnapElement);
 }
 
 void AppModeHelper::mainWindowCloseLastDoc()




More information about the scribus-commit mailing list