mirror of
https://github.com/qelectrotech/qelectrotech-source-mirror.git
synced 2025-12-26 13:20:52 +01:00
Fix : element text item alignment work well when text rotation != 0.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5357 bfdf4180-ca20-0410-9c96-a3a8aa849046
This commit is contained in:
@@ -1314,6 +1314,9 @@ void DynamicElementTextItem::updateXref()
|
||||
|
||||
void DynamicElementTextItem::setPlainText(const QString &text)
|
||||
{
|
||||
if(toPlainText() == text)
|
||||
return;
|
||||
|
||||
prepareAlignment();
|
||||
|
||||
DiagramTextItem::setPlainText(text);
|
||||
|
||||
Reference in New Issue
Block a user