r14114 by cbradney - #8497: Make link text frame tool use the sticky tool setting

scribus-commit scribus-commit at lists.scribus.net
Wed Oct 7 21:35:27 CEST 2009


Revision: 14114
Author: cbradney
Date: 2009-10-07T19:09:34.516333Z
Commit message: #8497: Make link text frame tool use the sticky tool setting

Changeset: 
M  /branches/Version135/Scribus/scribus/canvasmode_framelinks.cpp

Diffs:
Index: scribus/canvasmode_framelinks.cpp
===================================================================
--- scribus/canvasmode_framelinks.cpp	(revision 14113)
+++ scribus/canvasmode_framelinks.cpp	(revision 14114)
@@ -262,13 +262,9 @@
 	if ((m_doc->appMode == modeLinkFrames) || (m_doc->appMode == modeUnlinkFrames))
 	{
 		m_view->updateContents();
-		if (m_doc->ElemToLink != 0)
-			return;
-		else
-		{
+		if (!PrefsManager::instance()->appPrefs.stickyTools || m_doc->ElemToLink == 0)
 			m_view->requestMode(submodePaintingDone);
-			return;
-		}
+		return;
 	}
 	m_canvas->setRenderModeUseBuffer(false);
 	m_doc->DragP = false;




More information about the scribus-commit mailing list