[qet] qet/qet: [5095] Part dynamic text field, set default color to black |
[ Thread Index |
Date Index
| More lists.tuxfamily.org/qet Archives
]
Revision: 5095
Author: blacksun
Date: 2017-11-10 18:48:46 +0100 (Fri, 10 Nov 2017)
Log Message:
-----------
Part dynamic text field, set default color to black
Modified Paths:
--------------
trunk/sources/editor/graphicspart/partdynamictextfield.cpp
Modified: trunk/sources/editor/graphicspart/partdynamictextfield.cpp
===================================================================
--- trunk/sources/editor/graphicspart/partdynamictextfield.cpp 2017-11-09 16:29:27 UTC (rev 5094)
+++ trunk/sources/editor/graphicspart/partdynamictextfield.cpp 2017-11-10 17:48:46 UTC (rev 5095)
@@ -48,6 +48,7 @@
CustomElementPart(editor),
m_uuid(QUuid::createUuid())
{
+ setDefaultTextColor(Qt::black);
setFont(QETApp::diagramTextsFont(9));
setText("_");
setTextFrom(DynamicElementTextItem::UserText);