Fixed UI bug. Release a dialog size for deploying a formula field.
--HG-- branch : release
This commit is contained in:
parent
7cb84f9931
commit
c8e940d11c
|
@ -1,4 +1,5 @@
|
|||
# Version 0.4.3
|
||||
- Fixed UI bug. Release a dialog size for deploying a formula field.
|
||||
- Fixed broken formula when for system locale thousand separator is a space.
|
||||
- Using QGraphicsScene instead of VMainGraphicsScene caused a crash.
|
||||
- Fixed bug disabling tool True darts.
|
||||
|
|
|
@ -543,6 +543,12 @@ void DialogTool::DeployFormula(QPlainTextEdit *formula, QPushButton *buttonGrowL
|
|||
|
||||
const QTextCursor cursor = formula->textCursor();
|
||||
|
||||
//Before deploy ned to release dialog size
|
||||
//I don't know why, but don't need to fixate again.
|
||||
//A dialog will be lefted fixated. That's what we need.
|
||||
setMaximumSize(QSize(QWIDGETSIZE_MAX, QWIDGETSIZE_MAX));
|
||||
setMinimumSize(QSize(0, 0));
|
||||
|
||||
if (formula->height() < DIALOG_MAX_FORMULA_HEIGHT)
|
||||
{
|
||||
formula->setFixedHeight(DIALOG_MAX_FORMULA_HEIGHT);
|
||||
|
|
Loading…
Reference in New Issue
Block a user