r14817 by fschmid - Fixed incorrect display of the text edit ruler when moving images in frames.

scribus-commit scribus-commit at lists.scribus.net
Thu Feb 25 19:41:25 CET 2010


Revision: 14817
Author: fschmid
Date: 2010-02-25T10:10:41.276666Z
Commit message: Fixed incorrect display of the text edit ruler when moving images in frames.

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

Diffs:
Index: scribus/canvasmode_edit.cpp
===================================================================
--- scribus/canvasmode_edit.cpp	(revision 14816)
+++ scribus/canvasmode_edit.cpp	(revision 14817)
@@ -307,9 +307,10 @@
 		m_view->update();
 	}
 	PageItem * it(0);
-	if(GetItem(&it))
+	if (GetItem(&it))
 	{
-		m_canvas->setupEditHRuler(it, true);
+		if (it->asTextFrame())
+			m_canvas->setupEditHRuler(it, true);
 	}
 }
 




More information about the scribus-commit mailing list