r21137 by jghali -

scribus-commit scribus-commit at lists.scribus.net
Wed Mar 30 09:21:07 UTC 2016


Author: jghali
Date: Wed Mar 30 09:21:07 2016
New Revision: 21137

URL: http://scribus.net/websvn/listing.php?repname=Scribus&sc=1&rev=21137
Log:
#13870: Double-click on table crashes Scribus with Signal 11

Modified:
    trunk/Scribus/scribus/ui/propertiespalette_text.cpp

Modified: trunk/Scribus/scribus/ui/propertiespalette_text.cpp
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=21137&path=/trunk/Scribus/scribus/ui/propertiespalette_text.cpp
==============================================================================
--- trunk/Scribus/scribus/ui/propertiespalette_text.cpp	(original)
+++ trunk/Scribus/scribus/ui/propertiespalette_text.cpp	Wed Mar 30 09:21:07 2016
@@ -351,10 +351,8 @@
 	if (m_item->asTextFrame() || m_item->asPathText() || m_item->asTable())
 	{
 		ParagraphStyle parStyle =  m_item->itemText.defaultStyle();
-		if (m_doc->appMode == modeEdit)
+		if (m_doc->appMode == modeEdit || m_doc->appMode == modeEditTable)
 			m_item->currentTextProps(parStyle);
-		else if (m_doc->appMode == modeEditTable)
-			m_item->asTable()->activeCell().textFrame()->currentTextProps(parStyle);
 		updateStyle(parStyle);
 	}
 	if (m_item->asOSGFrame())




More information about the scribus-commit mailing list