r18269 by fschmid - Don't call checkChanges() when loading a doc.
scribus-commit
scribus-commit at lists.scribus.net
Mon Apr 29 20:16:04 UTC 2013
Author: fschmid
Date: Mon Apr 29 20:16:04 2013
New Revision: 18269
URL: http://scribus.net/websvn/listing.php?repname=Scribus&sc=1&rev=18269
Log:
Don't call checkChanges() when loading a doc.
Modified:
trunk/Scribus/scribus/pageitem.cpp
Modified: trunk/Scribus/scribus/pageitem.cpp
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=18269&path=/trunk/Scribus/scribus/pageitem.cpp
==============================================================================
--- trunk/Scribus/scribus/pageitem.cpp (original)
+++ trunk/Scribus/scribus/pageitem.cpp Mon Apr 29 20:16:04 2013
@@ -4609,6 +4609,8 @@
void PageItem::checkChanges(bool force)
{
+ if (m_Doc->view() == NULL)
+ return;
bool spreadChanges(false);
// has the item been resized
if (force || ((oldWidth != m_width || oldHeight != m_height) && shouldCheck()))
More information about the scribus-commit
mailing list