parent
65d8772a72
commit
7fd45ded4e
|
@ -1,4 +1,5 @@
|
|||
# Version 0.4.2
|
||||
- [#439] Widen Formula Dialog.
|
||||
- Fixed broken tool dialogs "Intersection arcs" and "Point from arc and tangent".
|
||||
- [#442] 'Broken Formula' error when using Intersect Circles tool.
|
||||
|
||||
|
|
|
@ -307,6 +307,19 @@ void DialogEditWrongFormula::closeEvent(QCloseEvent *event)
|
|||
DialogTool::closeEvent(event);
|
||||
}
|
||||
|
||||
//---------------------------------------------------------------------------------------------------------------------
|
||||
void DialogEditWrongFormula::showEvent(QShowEvent *event)
|
||||
{
|
||||
DialogTool::showEvent( event );
|
||||
if ( event->spontaneous() )
|
||||
{
|
||||
return;
|
||||
}
|
||||
|
||||
setMaximumSize(QSize(QWIDGETSIZE_MAX, QWIDGETSIZE_MAX));
|
||||
setMinimumSize(QSize(0, 0));
|
||||
}
|
||||
|
||||
//---------------------------------------------------------------------------------------------------------------------
|
||||
void DialogEditWrongFormula::SetFormula(const QString &value)
|
||||
{
|
||||
|
|
|
@ -79,6 +79,7 @@ public slots:
|
|||
protected:
|
||||
virtual void CheckState() Q_DECL_OVERRIDE;
|
||||
virtual void closeEvent(QCloseEvent *event) Q_DECL_OVERRIDE;
|
||||
virtual void showEvent( QShowEvent *event ) Q_DECL_OVERRIDE;
|
||||
private:
|
||||
Q_DISABLE_COPY(DialogEditWrongFormula)
|
||||
Ui::DialogEditWrongFormula *ui;
|
||||
|
|
Loading…
Reference in New Issue
Block a user