r19218 by jghali - #12380: Undo/Redo crashes Scribus editing nodes when using more layers
scribus-commit
scribus-commit at lists.scribus.net
Thu Jun 12 20:28:17 UTC 2014
Author: jghali
Date: Thu Jun 12 20:28:17 2014
New Revision: 19218
URL: http://scribus.net/websvn/listing.php?repname=Scribus&sc=1&rev=19218
Log:
#12380: Undo/Redo crashes Scribus editing nodes when using more layers
Modified:
trunk/Scribus/scribus/ui/nodeeditpalette.cpp
Modified: trunk/Scribus/scribus/ui/nodeeditpalette.cpp
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=19218&path=/trunk/Scribus/scribus/ui/nodeeditpalette.cpp
==============================================================================
--- trunk/Scribus/scribus/ui/nodeeditpalette.cpp (original)
+++ trunk/Scribus/scribus/ui/nodeeditpalette.cpp Thu Jun 12 20:28:17 2014
@@ -906,7 +906,7 @@
EditCont->setChecked(false);
ToggleConMode();
PageItem *currItem = m_doc->m_Selection->itemAt(0);
- if (currItem->itemType() == PageItem::PathText)
+ if (currItem && currItem->itemType() == PageItem::PathText)
currItem->updatePolyClip();
}
PolySplit->setEnabled( false );
More information about the scribus-commit
mailing list