From 9eaed960ef00f5a7c0d28ebdaf27976017df93ea Mon Sep 17 00:00:00 2001 From: jghali Date: Tue, 19 Jun 2012 00:48:24 +0000 Subject: #10760: custom tab fill char is not shown in the styles dialog git-svn-id: svn://scribus.net/branches/Version14x/Scribus@17589 11d20701-8431-0410-a711-e3c959e3b870 --- scribus/tabruler.cpp | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'scribus/tabruler.cpp') 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(); -- cgit