r19022 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:13:08 UTC 2014


Author: jghali
Date: Tue Apr  8 22:13:08 2014
New Revision: 19022

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

Modified:
    branches/Version14x/Scribus/scribus/scribus.cpp

Modified: branches/Version14x/Scribus/scribus/scribus.cpp
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=19022&path=/branches/Version14x/Scribus/scribus/scribus.cpp
==============================================================================
--- branches/Version14x/Scribus/scribus/scribus.cpp (original)
+++ branches/Version14x/Scribus/scribus/scribus.cpp Tue Apr  8 22:13:08 2014
@@ -2747,6 +2747,9 @@
 		scrActions["toolsPDFAnnotText"]->setEnabled(true);
 		pagePalette->enablePalette(true);
 	}
+	scrActions["viewSnapToGrid"]->setChecked(doc->useRaster);
+	scrActions["viewSnapToGuides"]->setChecked(doc->SnapGuides);
+
 	scrMenuMgr->setMenuEnabled("ItemLayer", doc->layerCount() > 1);
 }
 




More information about the scribus-commit mailing list