r21895 by jghali - fix switching between edited pattern while in symbol edit mode
scribus-commit
scribus-commit at lists.scribus.net
Fri Apr 14 20:23:23 UTC 2017
Author: jghali
Date: Fri Apr 14 20:23:22 2017
New Revision: 21895
URL: http://scribus.net/websvn/listing.php?repname=Scribus&sc=1&rev=21895
Log:
fix switching between edited pattern while in symbol edit mode
Modified:
trunk/Scribus/scribus/scribus.cpp
Modified: trunk/Scribus/scribus/scribus.cpp
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=21895&path=/trunk/Scribus/scribus/scribus.cpp
==============================================================================
--- trunk/Scribus/scribus/scribus.cpp (original)
+++ trunk/Scribus/scribus/scribus.cpp Fri Apr 14 20:23:22 2017
@@ -7498,6 +7498,13 @@
{
if (!HaveDoc || !doc->docPatterns.contains(temp))
return;
+ if (doc->symbolEditMode())
+ {
+ QString editedSymbol = doc->getEditedSymbol();
+ if (editedSymbol == temp)
+ return;
+ editSymbolEnd();
+ }
m_WasAutoSave = doc->autoSave();
if (m_WasAutoSave)
{
More information about the scribus-commit
mailing list