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

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


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

Changeset: 
M  /branches/Version135/Scribus/scribus/canvasmode_normal.cpp
M  /branches/Version135/Scribus/scribus/canvasmode_legacy.cpp

Diffs:
Index: scribus/canvasmode_legacy.cpp
===================================================================
--- scribus/canvasmode_legacy.cpp	(revision 14692)
+++ scribus/canvasmode_legacy.cpp	(revision 14693)
@@ -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)
Index: scribus/canvasmode_normal.cpp
===================================================================
--- scribus/canvasmode_normal.cpp	(revision 14692)
+++ scribus/canvasmode_normal.cpp	(revision 14693)
@@ -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