r17589 by jghali - #10760: custom tab fill char is not shown in the styles dialog

scribus-commit scribus-commit at lists.scribus.net
Tue Jun 19 00:48:24 UTC 2012


Author: jghali
Date: Tue Jun 19 00:48:24 2012
New Revision: 17589

URL: http://scribus.net/websvn/listing.php?repname=Scribus&sc=1&rev=17589
Log:
#10760: custom tab fill char is not shown in the styles dialog

Modified:
    branches/Version14x/Scribus/scribus/tabruler.cpp

Modified: branches/Version14x/Scribus/scribus/tabruler.cpp
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=17589&path=/branches/Version14x/Scribus/scribus/tabruler.cpp
==============================================================================
--- branches/Version14x/Scribus/scribus/tabruler.cpp (original)
+++ branches/Version14x/Scribus/scribus/tabruler.cpp Tue Jun 19 00:48:24 2012
@@ -761,7 +761,12 @@
 	{
 		tabFillCombo->setCurrentIndex(4);
 		tabFillCombo->setEditable(true);
-		setCurrentComboItem(tabFillCombo, CommonStrings::trCustomTabFill+QString(t));
+		if (!t.isNull())
+		{
+			bool sigBlocked = tabFillCombo->blockSignals(true);
+			tabFillCombo->setEditText(QString(t));
+			tabFillCombo->blockSignals(sigBlocked);
+		}
 	}
 	emit tabrulerChanged();
 	emit tabsChanged();




More information about the scribus-commit mailing list