summaryrefslogtreecommitdiffstats
path: root/Project/ConstantForm.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Project/ConstantForm.cpp')
-rw-r--r--Project/ConstantForm.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/Project/ConstantForm.cpp b/Project/ConstantForm.cpp
index 4406d63..f7d29d1 100644
--- a/Project/ConstantForm.cpp
+++ b/Project/ConstantForm.cpp
@@ -3,6 +3,8 @@
ConstantForm::ConstantForm(wxWindow* parent, Constant* constant) : ConstantFormBase(parent)
{
+ SetSize(GetBestSize());
+
m_parent = parent;
m_constant = constant;