r19606 by craig - #11400: Apply patch for nodes window

scribus-commit scribus-commit at lists.scribus.net
Wed Oct 22 18:24:34 UTC 2014


Author: craig
Date: Wed Oct 22 18:24:34 2014
New Revision: 19606

URL: http://scribus.net/websvn/listing.php?repname=Scribus&sc=1&rev=19606
Log:
#11400: Apply patch for nodes window

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

Modified: trunk/Scribus/scribus/ui/nodeeditpalette.cpp
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=19606&path=/trunk/Scribus/scribus/ui/nodeeditpalette.cpp
==============================================================================
--- trunk/Scribus/scribus/ui/nodeeditpalette.cpp (original)
+++ trunk/Scribus/scribus/ui/nodeeditpalette.cpp Wed Oct 22 18:24:34 2014
@@ -100,8 +100,8 @@
 	gridLayout->addWidget(Res1Node, 1, 3, 1, 1);
 
 	PolySplit = new QToolButton(this);
-	PolySplit->setEnabled( false );
-	PolySplit->setCheckable( true );
+	PolySplit->setEnabled(false);
+	PolySplit->setCheckable(true);
 	PolySplit->setIcon(QIcon(loadIcon("PolyCut.png")));
 	PolySplit->setIconSize(iconSize);
 	PolySplit->setContentsMargins(0, 0, 0, 0);
@@ -109,7 +109,7 @@
 	gridLayout->addWidget(PolySplit, 2, 0, 1, 1);
 
 	BezierClose = new QToolButton(this);
-	BezierClose->setEnabled( false );
+	BezierClose->setEnabled(false);
 	BezierClose->setIcon(QIcon(loadIcon("BezierClose.png")));
 	BezierClose->setIconSize(iconSize);
 	BezierClose->setContentsMargins(0, 0, 0, 0);
@@ -617,6 +617,7 @@
 		m_doc->nodeEdit.MoveSym = true;
 	SymMove->setChecked(true);
 	AsymMove->setChecked(false);
+	PolySplit->setChecked(false);
 }
 
 void NodePalette::SetAsym()
@@ -625,6 +626,7 @@
 		m_doc->nodeEdit.MoveSym = false;
 	SymMove->setChecked(false);
 	AsymMove->setChecked(true);
+	PolySplit->setChecked(false);
 }
 
 void NodePalette::SetXY(double x, double y)
@@ -819,6 +821,7 @@
 	MoveControl->setChecked(true);
 	DeleteNode->setChecked(false);
 	AddNode->setChecked(false);
+	PolySplit->setChecked(false);
 }
 
 void NodePalette::MoveN()
@@ -843,6 +846,7 @@
 	MoveControl->setChecked(false);
 	DeleteNode->setChecked(false);
 	AddNode->setChecked(false);
+	PolySplit->setChecked(false);
 }
 
 void NodePalette::AddN()
@@ -857,6 +861,7 @@
 	Res1Node->setEnabled(false);
 	AddNode->setChecked(true);
 	DeleteNode->setChecked(false);
+	PolySplit->setChecked(false);
 }
 
 void NodePalette::DelN()
@@ -871,6 +876,7 @@
 	Res1Node->setEnabled(false);
 	AddNode->setChecked(false);
 	DeleteNode->setChecked(true);
+	PolySplit->setChecked(false);
 }
 
 void NodePalette::closeEvent(QCloseEvent *ce)
@@ -887,8 +893,8 @@
 		if (currItem->itemType() == PageItem::PathText)
 			currItem->updatePolyClip();
 	}
-	PolySplit->setEnabled( false );
-	BezierClose->setEnabled( false );
+	PolySplit->setEnabled(false);
+	BezierClose->setEnabled(false);
 	emit paletteClosed();
 	ScrPaletteBase::closeEvent(ce);
 }
@@ -909,8 +915,8 @@
 		if (currItem && currItem->itemType() == PageItem::PathText)
 			currItem->updatePolyClip();
 	}
-	PolySplit->setEnabled( false );
-	BezierClose->setEnabled( false );
+	PolySplit->setEnabled(false);
+	BezierClose->setEnabled(false);
 	EditCont->setChecked(false);
 	emit paletteClosed();
 }
@@ -935,8 +941,8 @@
 		if (currItem->itemType() == PageItem::PathText)
 			currItem->updatePolyClip();
 	}
-	PolySplit->setEnabled( false );
-	BezierClose->setEnabled( false );
+	PolySplit->setEnabled(false);
+	BezierClose->setEnabled(false);
 	EditCont->setChecked(false);
 	emit paletteClosed();
 }




More information about the scribus-commit mailing list