r24683 by jghali - #16601: Fix crash when changing margins after opening doc containing footnotes/endnotes

scribus-commit scribus-commit at lists.scribus.net
Tue Aug 3 15:29:04 UTC 2021


Author: jghali
Date: Tue Aug  3 15:29:04 2021
New Revision: 24683

URL: http://scribus.net/websvn/listing.php?repname=Scribus&sc=1&rev=24683
Log:
#16601: Fix crash when changing margins after opening doc containing footnotes/endnotes

Modified:
    trunk/Scribus/scribus/scribus.cpp

Modified: trunk/Scribus/scribus/scribus.cpp
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=24683&path=/trunk/Scribus/scribus/scribus.cpp
==============================================================================
--- trunk/Scribus/scribus/scribus.cpp	(original)
+++ trunk/Scribus/scribus/scribus.cpp	Tue Aug  3 15:29:04 2021
@@ -3625,6 +3625,7 @@
 		{
 			doc->setLoading(true);
 			doc->updateMarks(true);
+			doc->updateChangedEndNotesFrames();
 			doc->setLoading(false);
 		}
 		for (auto itf = doc->FrameItems.begin(); itf != doc->FrameItems.end(); ++itf)




More information about the scribus-commit mailing list