r20298 by jghali - #13272: Closing "Nodes" dialog crashes Scribus if Undo/Redo and "Rounded Corners" are used while in modeEditClip
scribus-commit
scribus-commit at lists.scribus.net
Sat Aug 1 15:16:58 UTC 2015
Author: jghali
Date: Sat Aug 1 15:16:58 2015
New Revision: 20298
URL: http://scribus.net/websvn/listing.php?repname=Scribus&sc=1&rev=20298
Log:
#13272: Closing "Nodes" dialog crashes Scribus if Undo/Redo and "Rounded Corners" are used while in modeEditClip
Modified:
trunk/Scribus/scribus/pageitem.cpp
Modified: trunk/Scribus/scribus/pageitem.cpp
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=20298&path=/trunk/Scribus/scribus/pageitem.cpp
==============================================================================
--- trunk/Scribus/scribus/pageitem.cpp (original)
+++ trunk/Scribus/scribus/pageitem.cpp Sat Aug 1 15:16:58 2015
@@ -6979,7 +6979,7 @@
m_roundedCorderRadius=state->getDouble("OLD_RADIUS");
else
m_roundedCorderRadius=state->getDouble("NEW_RADIUS");
- Selection tmpSelection(doc()->m_Selection);
+ Selection tmpSelection = *(doc()->m_Selection);
doc()->m_Selection->clear();
doc()->m_Selection->addItem(this);
doc()->setFrameRounded();
More information about the scribus-commit
mailing list