r20581 by craig -
scribus-commit
scribus-commit at lists.scribus.net
Wed Nov 25 23:16:48 UTC 2015
Author: craig
Date: Wed Nov 25 23:16:48 2015
New Revision: 20581
URL: http://scribus.net/websvn/listing.php?repname=Scribus&sc=1&rev=20581
Log:
Simplify unnecessary code when changing shapes
Modified:
trunk/Scribus/scribus/ui/propertiespalette.cpp
Modified: trunk/Scribus/scribus/ui/propertiespalette.cpp
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=20581&path=/trunk/Scribus/scribus/ui/propertiespalette.cpp
==============================================================================
--- trunk/Scribus/scribus/ui/propertiespalette.cpp (original)
+++ trunk/Scribus/scribus/ui/propertiespalette.cpp Wed Nov 25 23:16:48 2015
@@ -658,14 +658,6 @@
{
if ((m_item->itemType() == PageItem::PolyLine) || (m_item->itemType() == PageItem::PathText))
return;
-
- if ((m_item->itemType() == PageItem::ImageFrame) || (m_item->itemType() == PageItem::TextFrame))
- {
- shapePal->setRoundRectEnabled(frameType == 0);
- return;
- }
-// m_item->convertTo(PageItem::Polygon);
-// newSelection(6);
shapePal->setRoundRectEnabled(frameType == 0);
}
}
@@ -986,9 +978,7 @@
if (!m_ScMW || m_ScMW->scriptIsRunning())
return;
if ((m_haveDoc) && (m_haveItem))
- {
shapePal->setRoundRectEnabled(false);
- }
}
void PropertiesPalette::handleGradientChanged()
More information about the scribus-commit
mailing list