r20334 by jghali - #13184: "View rulers" setting not retained across session

scribus-commit scribus-commit at lists.scribus.net
Sun Aug 16 14:52:09 UTC 2015


Author: jghali
Date: Sun Aug 16 14:52:09 2015
New Revision: 20334

URL: http://scribus.net/websvn/listing.php?repname=Scribus&sc=1&rev=20334
Log:
#13184: "View rulers" setting not retained across session

Modified:
    trunk/Scribus/scribus/scribus.cpp

Modified: trunk/Scribus/scribus/scribus.cpp
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=20334&path=/trunk/Scribus/scribus/scribus.cpp
==============================================================================
--- trunk/Scribus/scribus/scribus.cpp (original)
+++ trunk/Scribus/scribus/scribus.cpp Sun Aug 16 14:52:09 2015
@@ -2542,6 +2542,7 @@
 		view->requestMode(doc->appMode);
 	}
 	view->setFocus();
+	view->setRulersShown(doc->guidesPrefs().rulersShown);
 	scrActions["viewShowMargins"]->setChecked(doc->guidesPrefs().marginsShown);
 	scrActions["viewShowBleeds"]->setChecked(doc->guidesPrefs().showBleed);
 	scrActions["viewShowFrames"]->setChecked(doc->guidesPrefs().framesShown);




More information about the scribus-commit mailing list