r20413 by fschmid -

scribus-commit scribus-commit at lists.scribus.net
Mon Sep 21 17:20:15 UTC 2015


Author: fschmid
Date: Mon Sep 21 17:20:15 2015
New Revision: 20413

URL: http://scribus.net/websvn/listing.php?repname=Scribus&sc=1&rev=20413
Log:
Fixed Bug #13356: It is not possible to name a Symbol like a Symbol previously deleted

Modified:
    trunk/Scribus/scribus/scribus.cpp

Modified: trunk/Scribus/scribus/scribus.cpp
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=20413&path=/trunk/Scribus/scribus/scribus.cpp
==============================================================================
--- trunk/Scribus/scribus/scribus.cpp	(original)
+++ trunk/Scribus/scribus/scribus.cpp	Mon Sep 21 17:20:15 2015
@@ -9100,6 +9100,7 @@
 	patternName = patternName.trimmed().simplified().replace(" ", "_");
 	Query dia(this, "tt", 1, tr("&Name:"), tr("New Entry"));
 	dia.setEditText(patternName, true);
+	patternsDependingOnThis.clear();
 	dia.setForbiddenList(patternsDependingOnThis);
 	dia.setTestList(doc->docPatterns.keys());
 	dia.setCheckMode(true);




More information about the scribus-commit mailing list