mirror of
https://github.com/qelectrotech/qelectrotech-source-mirror.git
synced 2026-04-21 10:09:58 +02:00
Fix typo within settings entry
This commit is contained in:
@@ -46,7 +46,7 @@ DynamicElementTextItem::DynamicElementTextItem(Element *parent_element) :
|
|||||||
QSettings settings;
|
QSettings settings;
|
||||||
setRotation(settings.value("dynamic_text_rotation", 0).toInt());
|
setRotation(settings.value("dynamic_text_rotation", 0).toInt());
|
||||||
setKeepVisualRotation(true);
|
setKeepVisualRotation(true);
|
||||||
setTextWidth(settings.value("dynamic_text_widht", -1).toInt());
|
setTextWidth(settings.value("dynamic_text_width", -1).toInt());
|
||||||
connect(this, &DynamicElementTextItem::textEdited, [this](const QString &old_str, const QString &new_str)
|
connect(this, &DynamicElementTextItem::textEdited, [this](const QString &old_str, const QString &new_str)
|
||||||
{
|
{
|
||||||
if(this->m_parent_element && this->m_parent_element->diagram())
|
if(this->m_parent_element && this->m_parent_element->diagram())
|
||||||
|
|||||||
Reference in New Issue
Block a user