r15734 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:08:19 CET 2010
Author: fschmid
Date: Tue Nov 2 23:08:19 2010
New Revision: 15734
URL: http://scribus.info/websvn/listing.php?repname=Scribus&sc=1&rev=15734
Log:
Do not display tab symbol in the ruler when not in edit mode.
Modified:
branches/Version135/Scribus/scribus/hruler.cpp
Modified: branches/Version135/Scribus/scribus/hruler.cpp
URL: http://scribus.info/websvn/diff.php?repname=Scribus&rev=15734&path=/branches/Version135/Scribus/scribus/hruler.cpp
==============================================================================
--- branches/Version135/Scribus/scribus/hruler.cpp (original)
+++ branches/Version135/Scribus/scribus/hruler.cpp Tue Nov 2 23:08:19 2010
@@ -327,7 +327,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 *e)
More information about the scribus-commit
mailing list