r21140 by jghali -

scribus-commit scribus-commit at lists.scribus.net
Wed Mar 30 12:07:20 UTC 2016


Author: jghali
Date: Wed Mar 30 12:07:20 2016
New Revision: 21140

URL: http://scribus.net/websvn/listing.php?repname=Scribus&sc=1&rev=21140
Log:
#13873: When I delete one of the linked text frames, the link relations don't change

Modified:
    trunk/Scribus/scribus/scribusdoc.cpp

Modified: trunk/Scribus/scribus/scribusdoc.cpp
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=21140&path=/trunk/Scribus/scribus/scribusdoc.cpp
==============================================================================
--- trunk/Scribus/scribus/scribusdoc.cpp	(original)
+++ trunk/Scribus/scribus/scribusdoc.cpp	Wed Mar 30 12:07:20 2016
@@ -11363,8 +11363,9 @@
 				currItem->asTextFrame()->removeMarksFromText(true);
 				currItem->asTextFrame()->delAllNoteFrames(false);
 				currItem->itemText.deselectAll();
+			}
+			if (currItem->asTextFrame())
 				currItem->dropLinks();
-			}
 		}
 		if (currItem->isWelded())
 			currItem->unWeld();




More information about the scribus-commit mailing list