summaryrefslogtreecommitdiffstats
path: root/scribus
diff options
context:
space:
mode:
Diffstat (limited to 'scribus')
-rw-r--r--scribus/tabruler.cpp7
1 files changed, 6 insertions, 1 deletions
diff --git a/scribus/tabruler.cpp b/scribus/tabruler.cpp
index 11e823f..7f6a18e 100644
--- a/scribus/tabruler.cpp
+++ b/scribus/tabruler.cpp
@@ -761,7 +761,12 @@ void Tabruler::setTabFillChar(QChar t)
{
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();