r18500 by craig - #9391: Show guides after dropping them to canvas when not in normal mode by forcing a redraw

scribus-commit scribus-commit at lists.scribus.net
Tue Sep 24 22:03:39 UTC 2013


Author: craig
Date: Tue Sep 24 22:03:39 2013
New Revision: 18500

URL: http://scribus.net/websvn/listing.php?repname=Scribus&sc=1&rev=18500
Log:
#9391: Show guides after dropping them to canvas when not in normal mode by forcing a redraw

Modified:
    trunk/Scribus/scribus/canvasgesture_rulermove.cpp

Modified: trunk/Scribus/scribus/canvasgesture_rulermove.cpp
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=18500&path=/trunk/Scribus/scribus/canvasgesture_rulermove.cpp
==============================================================================
--- trunk/Scribus/scribus/canvasgesture_rulermove.cpp (original)
+++ trunk/Scribus/scribus/canvasgesture_rulermove.cpp Tue Sep 24 22:03:39 2013
@@ -311,6 +311,9 @@
 		}
 	}
 	m_haveGuide = false;
+	//#9391: Force redraw to get the guide drawn if we draw a guide in an edit mode
+	if (m_ScMW->doc->appMode != modeNormal)
+		m_canvas->setForcedRedraw(true);
 	m_canvas->repaint();
 	m_view->stopGesture();
 	if (m_ScMW->doc->guidesPrefs().guidesShown)




More information about the scribus-commit mailing list