r17518 by craig - #10715: Apply patch for GUI when creating Polygons

scribus-commit scribus-commit at lists.scribus.net
Mon May 21 16:00:08 UTC 2012


Author: craig
Date: Mon May 21 16:00:08 2012
New Revision: 17518

URL: http://scribus.net/websvn/listing.php?repname=Scribus&sc=1&rev=17518
Log:
#10715: Apply patch for GUI when creating Polygons

Modified:
    branches/Version14x/Scribus/scribus/ui/modetoolbar.cpp

Modified: branches/Version14x/Scribus/scribus/ui/modetoolbar.cpp
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=17518&path=/branches/Version14x/Scribus/scribus/ui/modetoolbar.cpp
==============================================================================
--- branches/Version14x/Scribus/scribus/ui/modetoolbar.cpp (original)
+++ branches/Version14x/Scribus/scribus/ui/modetoolbar.cpp Mon May 21 16:00:08 2012
@@ -91,7 +91,10 @@
 {
 	PolygonProps* dia = new PolygonProps(this, m_ScMW->doc->toolSettings.polyC, m_ScMW->doc->toolSettings.polyFd, m_ScMW->doc->toolSettings.polyF, m_ScMW->doc->toolSettings.polyS, m_ScMW->doc->toolSettings.polyR, m_ScMW->doc->toolSettings.polyCurvature);
 	if (dia->exec())
+	{
 		dia->getValues(&m_ScMW->doc->toolSettings.polyC, &m_ScMW->doc->toolSettings.polyFd, &m_ScMW->doc->toolSettings.polyF, &m_ScMW->doc->toolSettings.polyS, &m_ScMW->doc->toolSettings.polyR, &m_ScMW->doc->toolSettings.polyCurvature);
+		m_ScMW->scrActions["toolsInsertPolygon"]->trigger();
+	}
 	delete dia;
 }
 




More information about the scribus-commit mailing list