r15735 by fschmid - Do not display tab symbol in the ruler when not in edit mode.

scribus-commit scribus-commit at lists.scribus.net
Wed Nov 3 00:09:19 CET 2010


Author: fschmid
Date: Tue Nov  2 23:09:19 2010
New Revision: 15735

URL: http://scribus.info/websvn/listing.php?repname=Scribus&sc=1&rev=15735
Log:
Do not display tab symbol in the ruler when not in edit mode.

Modified:
    trunk/Scribus/scribus/ui/hruler.cpp

Modified: trunk/Scribus/scribus/ui/hruler.cpp
URL: http://scribus.info/websvn/diff.php?repname=Scribus&rev=15735&path=/trunk/Scribus/scribus/ui/hruler.cpp
==============================================================================
--- trunk/Scribus/scribus/ui/hruler.cpp (original)
+++ trunk/Scribus/scribus/ui/hruler.cpp Tue Nov  2 23:09:19 2010
@@ -336,7 +336,8 @@
 
 void Hruler::enterEvent(QEvent *e)
 {
-	qApp->changeOverrideCursor(QCursor(loadIcon("tab.png"), 3));
+	if (textEditMode)
+		qApp->changeOverrideCursor(QCursor(loadIcon("tab.png"), 3));
 }
 
 void Hruler::leaveEvent(QEvent *m)




More information about the scribus-commit mailing list