r21171 by jghali -

scribus-commit scribus-commit at lists.scribus.net
Fri Apr 8 19:04:15 UTC 2016


Author: jghali
Date: Fri Apr  8 19:04:15 2016
New Revision: 21171

URL: http://scribus.net/websvn/listing.php?repname=Scribus&sc=1&rev=21171
Log:
#13931: SToolBFont tooltips in Story Editor are not initialized <FirasH>

Modified:
    trunk/Scribus/scribus/ui/storyeditor.cpp

Modified: trunk/Scribus/scribus/ui/storyeditor.cpp
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=21171&path=/trunk/Scribus/scribus/ui/storyeditor.cpp
==============================================================================
--- trunk/Scribus/scribus/ui/storyeditor.cpp	(original)
+++ trunk/Scribus/scribus/ui/storyeditor.cpp	Fri Apr  8 19:04:15 2016
@@ -1455,6 +1455,8 @@
 	connect(ChScaleV, SIGNAL(valueChanged(double)), this, SIGNAL(newScaleV(double)));
 	connect(Fonts, SIGNAL(activated(const QString &)), this, SIGNAL(NewFont(const QString &)));
 	connect(Size, SIGNAL(valueChanged(double)), this, SIGNAL(NewSize(double)));
+
+	languageChange();
 }
 
 void SToolBFont::changeEvent(QEvent *e)
@@ -1469,10 +1471,6 @@
 
 void SToolBFont::languageChange()
 {
-	Fonts->setToolTip("");
-	Size->setToolTip("");
-	ChScale->setToolTip("");
-	ChScaleV->setToolTip("");
 	Fonts->setToolTip( tr("Font of selected text"));
 	Size->setToolTip( tr("Font Size"));
 	ChScale->setToolTip( tr("Scaling width of characters"));




More information about the scribus-commit mailing list