r18504 by craig - Use new canvas setForcedRedraw function some more

scribus-commit scribus-commit at lists.scribus.net
Wed Sep 25 21:26:58 UTC 2013


Author: craig
Date: Wed Sep 25 21:26:58 2013
New Revision: 18504

URL: http://scribus.net/websvn/listing.php?repname=Scribus&sc=1&rev=18504
Log:
Use new canvas setForcedRedraw function some more

Modified:
    trunk/Scribus/scribus/canvasmode_edittable.cpp
    trunk/Scribus/scribus/canvasmode_normal.cpp

Modified: trunk/Scribus/scribus/canvasmode_edittable.cpp
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=18504&path=/trunk/Scribus/scribus/canvasmode_edittable.cpp
==============================================================================
--- trunk/Scribus/scribus/canvasmode_edittable.cpp (original)
+++ trunk/Scribus/scribus/canvasmode_edittable.cpp Wed Sep 25 21:26:58 2013
@@ -309,7 +309,7 @@
 
 void CanvasMode_EditTable::updateCanvas(bool forceRedraw)
 {
-	m_canvas->m_viewMode.forceRedraw = forceRedraw;
+	m_canvas->setForcedRedraw(forceRedraw);
 	m_canvas->update(m_canvas->canvasToLocal(m_table->getBoundingRect()));
 }
 

Modified: trunk/Scribus/scribus/canvasmode_normal.cpp
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=18504&path=/trunk/Scribus/scribus/canvasmode_normal.cpp
==============================================================================
--- trunk/Scribus/scribus/canvasmode_normal.cpp (original)
+++ trunk/Scribus/scribus/canvasmode_normal.cpp Wed Sep 25 21:26:58 2013
@@ -1736,7 +1736,7 @@
 		}
 		if(pageChanged)
 		{
-			m_canvas->m_viewMode.forceRedraw = true;
+			m_canvas->setForcedRedraw(true);
 			m_canvas->update();
 		}
 		else
@@ -1796,7 +1796,7 @@
 	{
 		if(m_doc->m_Selection->isEmpty())
 		{
-			m_canvas->m_viewMode.forceRedraw = true;
+			m_canvas->setForcedRedraw(true);
 			m_canvas->update();
 		}
 		else




More information about the scribus-commit mailing list