r16413 by fschmid - Fixed redraw when points are moved with the spinboxes in the NodeEdit palette.

scribus-commit scribus-commit at lists.scribus.net
Sun Mar 6 16:55:47 CET 2011


Author: fschmid
Date: Sun Mar  6 15:55:46 2011
New Revision: 16413

URL: http://scribus.info/websvn/listing.php?repname=Scribus&sc=1&rev=16413
Log:
Fixed redraw when points are moved with the spinboxes in the NodeEdit palette.

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

Modified: trunk/Scribus/scribus/ui/nodeeditpalette.cpp
URL: http://scribus.info/websvn/diff.php?repname=Scribus&rev=16413&path=/trunk/Scribus/scribus/ui/nodeeditpalette.cpp
==============================================================================
--- trunk/Scribus/scribus/ui/nodeeditpalette.cpp (original)
+++ trunk/Scribus/scribus/ui/nodeeditpalette.cpp Sun Mar  6 15:55:46 2011
@@ -539,6 +539,7 @@
 		currItem->ContourLine = currItem->PoLine.copy();
 		currItem->ClipEdited = true;
 		view->DrawNew();
+		emit DocChanged();
 	}
 }
 
@@ -550,6 +551,7 @@
 		currItem->ContourLine = currItem->imageClip.copy();
 		currItem->ClipEdited = true;
 		view->DrawNew();
+		emit DocChanged();
 	}
 }
 
@@ -562,6 +564,7 @@
 		currItem->ClipEdited = true;
 		currItem->FrameType = 3;
 		doc->AdjustItemSize(currItem);
+		doc->regionsChanged()->update(QRectF());
 		emit DocChanged();
 	}
 }
@@ -585,6 +588,7 @@
 		}
 		doc->nodeEdit.moveClipPoint(currItem, np);
 		doc->AdjustItemSize(currItem);
+		doc->regionsChanged()->update(QRectF());
 		emit DocChanged();
 	}
 }




More information about the scribus-commit mailing list