r14694 by fschmid - Fixed Bug #8131: "White pixel on left mouse click"

scribus-commit scribus-commit at lists.scribus.net
Fri Feb 12 22:40:42 CET 2010


Revision: 14694
Author: fschmid
Date: 2010-02-12T21:36:01.683651Z
Commit message: Fixed Bug #8131: "White pixel on left mouse click"

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

Diffs:
Index: scribus/canvasmode_legacy.cpp
===================================================================
--- scribus/canvasmode_legacy.cpp	(revision 14693)
+++ scribus/canvasmode_legacy.cpp	(revision 14694)
@@ -2211,6 +2211,7 @@
 	m_canvas->m_viewMode.m_MouseButtonPressed = false;
 	m_canvas->resetRenderMode();
 	m->accept();
+	m_view->redrawMarker->hide();
 //	m_view->stopDragTimer();
 	//m_canvas->update(); //ugly in a mouseReleaseEvent!!!!!!!
 	if (m_doc->appMode == modeEditGradientVectors)
@@ -2400,7 +2401,7 @@
 			}
 			m_view->HaveSelRect = false;
 			shiftSelItems = false;
-			m_view->redrawMarker->hide();
+//			m_view->redrawMarker->hide();
 			m_view->updateContents();
 		}
 		if (m_doc->appMode != modeEdit)
Index: scribus/canvasmode_normal.cpp
===================================================================
--- scribus/canvasmode_normal.cpp	(revision 14693)
+++ scribus/canvasmode_normal.cpp	(revision 14694)
@@ -753,6 +753,7 @@
 	m_canvas->m_viewMode.m_MouseButtonPressed = false;
 	m_canvas->resetRenderMode();
 	m->accept();
+	m_view->redrawMarker->hide();
 //	m_view->stopDragTimer();
 	//m_canvas->update(); //ugly in a mouseReleaseEvent!!!!!!!
 	if ((!GetItem(&currItem)) && (m->button() == Qt::RightButton) && (!m_doc->DragP))
@@ -944,7 +945,7 @@
 		}
 		m_view->HaveSelRect = false;
 		shiftSelItems = false;
-		m_view->redrawMarker->hide();
+//		m_view->redrawMarker->hide();
 		m_view->updateContents();
 	}
 	if (m_doc->appMode != modeEdit)




More information about the scribus-commit mailing list