r14818 by fschmid - Ensure "Arrow" cursor when editing Annotation properties.

scribus-commit scribus-commit at lists.scribus.net
Thu Feb 25 19:43:36 CET 2010


Revision: 14818
Author: fschmid
Date: 2010-02-25T11:48:45.285552Z
Commit message: Ensure "Arrow" cursor when editing Annotation properties.

Changeset: 
M  /trunk/Scribus/scribus/canvasmode_normal.cpp
M  /trunk/Scribus/scribus/canvasmode_edit.cpp

Diffs:
Index: scribus/canvasmode_edit.cpp
===================================================================
--- scribus/canvasmode_edit.cpp	(revision 14817)
+++ scribus/canvasmode_edit.cpp	(revision 14818)
@@ -334,6 +334,7 @@
 		//CB if annotation, open the annotation dialog
 		if (currItem->isAnnotation())
 		{
+			qApp->changeOverrideCursor(QCursor(Qt::ArrowCursor));
 			m_view->requestMode(submodeAnnotProps);
 		}
 		//otherwise, select between the whitespace
Index: scribus/canvasmode_normal.cpp
===================================================================
--- scribus/canvasmode_normal.cpp	(revision 14817)
+++ scribus/canvasmode_normal.cpp	(revision 14818)
@@ -218,6 +218,7 @@
 			//CB if annotation, open the annotation dialog
 			if (currItem->isAnnotation())
 			{
+				qApp->changeOverrideCursor(QCursor(Qt::ArrowCursor));
 				m_view->requestMode(submodeAnnotProps);
 				//mousePressEvent(m);
 			}
@@ -960,7 +961,7 @@
 	}
 	if (GetItem(&currItem))
 	{
-		qApp->changeOverrideCursor(QCursor(Qt::OpenHandCursor));
+	//	qApp->changeOverrideCursor(QCursor(Qt::OpenHandCursor));
 		if (m_doc->m_Selection->count() > 1)
 		{
 			m_doc->m_Selection->setGroupRect();




More information about the scribus-commit mailing list