r15989 by jghali - #9525: When selecting another text frame in edit mode, properties palette switches to XYZ tab

scribus-commit scribus-commit at lists.scribus.net
Thu Nov 25 18:05:00 CET 2010


Author: jghali
Date: Thu Nov 25 17:05:00 2010
New Revision: 15989

URL: http://scribus.info/websvn/listing.php?repname=Scribus&sc=1&rev=15989
Log:
#9525: When selecting another text frame in edit mode, properties palette switches to XYZ tab

Modified:
    trunk/Scribus/scribus/canvasmode_edit.cpp

Modified: trunk/Scribus/scribus/canvasmode_edit.cpp
URL: http://scribus.info/websvn/diff.php?repname=Scribus&rev=15989&path=/trunk/Scribus/scribus/canvasmode_edit.cpp
==============================================================================
--- trunk/Scribus/scribus/canvasmode_edit.cpp (original)
+++ trunk/Scribus/scribus/canvasmode_edit.cpp Thu Nov 25 17:05:00 2010
@@ -666,6 +666,7 @@
 			FPoint canvasPoint = m_canvas->globalToCanvas(m->globalPos());
 			if (m_canvas->frameHitTest(QPointF(canvasPoint.x(), canvasPoint.y()), currItem) < 0)
 			{
+				m_doc->m_Selection->delaySignalsOn();
 				m_view->Deselect(true);
 				bool wantNormal = true;
 				if (SeleItem(m))
@@ -689,6 +690,7 @@
 					m_view->requestMode(submodePaintingDone);
 					qApp->changeOverrideCursor(QCursor(Qt::ArrowCursor));
 				}
+				m_doc->m_Selection->delaySignalsOff();
 				if (wantNormal)
 					m_view->requestMode(modeNormal);
 				return;




More information about the scribus-commit mailing list