r21390 by jghali -

scribus-commit scribus-commit at lists.scribus.net
Sun Jun 26 18:04:02 UTC 2016


Author: jghali
Date: Sun Jun 26 18:04:02 2016
New Revision: 21390

URL: http://scribus.net/websvn/listing.php?repname=Scribus&sc=1&rev=21390
Log:
#14182: tabs alignment behaves unpredictably

Modified:
    trunk/Scribus/scribus/pageitem_textframe.cpp

Modified: trunk/Scribus/scribus/pageitem_textframe.cpp
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=21390&path=/trunk/Scribus/scribus/pageitem_textframe.cpp
==============================================================================
--- trunk/Scribus/scribus/pageitem_textframe.cpp	(original)
+++ trunk/Scribus/scribus/pageitem_textframe.cpp	Sun Jun 26 18:04:02 2016
@@ -2193,6 +2193,9 @@
 						}
 					}
 					i = current.restartRow(false);
+					tabs.active = false;
+					tabs.status = TabNONE;
+					tabs.xPos   = 0.0;
 					continue;
 				}
 			}
@@ -2581,6 +2584,7 @@
 			{
 				tabs.active = false;
 				tabs.status = TabNONE;
+				tabs.xPos   = 0.0;
 				if (SpecialChars::isBreak(itemText.text(a), Cols > 1))
 				{
 					// Find end of line




More information about the scribus-commit mailing list