r17590 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:58 UTC 2012
Author: jghali
Date: Tue Jun 19 00:48:58 2012
New Revision: 17590
URL: http://scribus.net/websvn/listing.php?repname=Scribus&sc=1&rev=17590
Log:
#10760: custom tab fill char is not shown in the styles dialog
Modified:
trunk/Scribus/scribus/ui/tabruler.cpp
Modified: trunk/Scribus/scribus/ui/tabruler.cpp
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=17590&path=/trunk/Scribus/scribus/ui/tabruler.cpp
==============================================================================
--- trunk/Scribus/scribus/ui/tabruler.cpp (original)
+++ trunk/Scribus/scribus/ui/tabruler.cpp Tue Jun 19 00:48:58 2012
@@ -802,7 +802,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