r23365 by jghali - #15946: File size increase

scribus-commit scribus-commit at lists.scribus.net
Thu Nov 14 21:25:33 UTC 2019


Author: jghali
Date: Thu Nov 14 21:25:32 2019
New Revision: 23365

URL: http://scribus.net/websvn/listing.php?repname=Scribus&sc=1&rev=23365
Log:
#15946: File size increase

Modified:
    trunk/Scribus/scribus/pageitem.cpp

Modified: trunk/Scribus/scribus/pageitem.cpp
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=23365&path=/trunk/Scribus/scribus/pageitem.cpp
==============================================================================
--- trunk/Scribus/scribus/pageitem.cpp	(original)
+++ trunk/Scribus/scribus/pageitem.cpp	Thu Nov 14 21:25:32 2019
@@ -1298,6 +1298,10 @@
 		if (ff == this)
 			return false;
 	}
+	// If object is placed on a master page, it can be linked only to objects placed on same master page
+	// Same for objects placed on standard pages : they can only be linked to objects placed on standard pages
+	if (OnMasterPage != nxt->OnMasterPage)
+		return false;
 	return true;
 }
 




More information about the scribus-commit mailing list