r21309 by jghali -
scribus-commit
scribus-commit at lists.scribus.net
Fri May 13 21:15:38 UTC 2016
Author: jghali
Date: Fri May 13 21:15:38 2016
New Revision: 21309
URL: http://scribus.net/websvn/listing.php?repname=Scribus&sc=1&rev=21309
Log:
match shear buttons names of node edit palette with slot names
Modified:
trunk/Scribus/scribus/ui/nodeeditpalette.cpp
Modified: trunk/Scribus/scribus/ui/nodeeditpalette.cpp
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=21309&path=/trunk/Scribus/scribus/ui/nodeeditpalette.cpp
==============================================================================
--- trunk/Scribus/scribus/ui/nodeeditpalette.cpp (original)
+++ trunk/Scribus/scribus/ui/nodeeditpalette.cpp Fri May 13 21:15:38 2016
@@ -327,8 +327,8 @@
connect(YSpin, SIGNAL(valueChanged(double)), this, SLOT(MovePoint()));
connect(PolyMirrorH, SIGNAL(clicked()), this, SLOT(MirrorH()));
connect(PolyMirrorV, SIGNAL(clicked()), this, SLOT(MirrorV()));
- connect(PolyShearR, SIGNAL(clicked()), this, SLOT(ShearL()));
- connect(PolyShearL, SIGNAL(clicked()), this, SLOT(ShearR()));
+ connect(PolyShearR, SIGNAL(clicked()), this, SLOT(ShearR()));
+ connect(PolyShearL, SIGNAL(clicked()), this, SLOT(ShearL()));
connect(PolyShearU, SIGNAL(clicked()), this, SLOT(ShearU()));
connect(PolyShearD, SIGNAL(clicked()), this, SLOT(ShearD()));
connect(RotateCCW, SIGNAL(clicked()), this, SLOT(doRotCCW()));
@@ -500,13 +500,13 @@
void NodePalette::ShearR()
{
if (m_doc != 0)
+ m_view->TransformPoly(4);
+}
+
+void NodePalette::ShearL()
+{
+ if (m_doc != 0)
m_view->TransformPoly(5);
-}
-
-void NodePalette::ShearL()
-{
- if (m_doc != 0)
- m_view->TransformPoly(4);
}
void NodePalette::ShearU()
More information about the scribus-commit
mailing list