r21904 by jghali - #14740: Scribus crashes with Sig 6 when attempting to import an AI pattern library
scribus-commit
scribus-commit at lists.scribus.net
Fri Apr 14 22:51:44 UTC 2017
Author: jghali
Date: Fri Apr 14 22:51:44 2017
New Revision: 21904
URL: http://scribus.net/websvn/listing.php?repname=Scribus&sc=1&rev=21904
Log:
#14740: Scribus crashes with Sig 6 when attempting to import an AI pattern library
Modified:
trunk/Scribus/scribus/plugins/import/ai/importai.cpp
Modified: trunk/Scribus/scribus/plugins/import/ai/importai.cpp
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=21904&path=/trunk/Scribus/scribus/plugins/import/ai/importai.cpp
==============================================================================
--- trunk/Scribus/scribus/plugins/import/ai/importai.cpp (original)
+++ trunk/Scribus/scribus/plugins/import/ai/importai.cpp Fri Apr 14 22:51:44 2017
@@ -1663,7 +1663,7 @@
ite->setLocked(itemLocked);
}
- else
+ else if (m_Doc->Items->count() > 0)
{
ite = m_Doc->Items->last();
ite->PoLine.setMarker();
More information about the scribus-commit
mailing list