Fixed issue with updating formula field after change size.
--HG-- branch : develop
This commit is contained in:
parent
f550567e48
commit
58ce7fdfac
|
@ -601,6 +601,12 @@ void DialogTool::DeployFormula(QPlainTextEdit *formula, QPushButton *buttonGrowL
|
||||||
buttonGrowLength->setIcon(QIcon::fromTheme("go-down",
|
buttonGrowLength->setIcon(QIcon::fromTheme("go-down",
|
||||||
QIcon(":/icons/win.icon.theme/16x16/actions/go-down.png")));
|
QIcon(":/icons/win.icon.theme/16x16/actions/go-down.png")));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// I found that after change size of formula field, it was filed for angle formula, field for formula became black.
|
||||||
|
// This code prevent this.
|
||||||
|
setUpdatesEnabled(false);
|
||||||
|
repaint();
|
||||||
|
setUpdatesEnabled(true);
|
||||||
}
|
}
|
||||||
|
|
||||||
//---------------------------------------------------------------------------------------------------------------------
|
//---------------------------------------------------------------------------------------------------------------------
|
||||||
|
|
Loading…
Reference in New Issue
Block a user