diff options
Diffstat (limited to 'Stars45/FormWindow.cpp')
-rw-r--r-- | Stars45/FormWindow.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Stars45/FormWindow.cpp b/Stars45/FormWindow.cpp index 83595b9..dc9d1d6 100644 --- a/Stars45/FormWindow.cpp +++ b/Stars45/FormWindow.cpp @@ -94,7 +94,7 @@ FormWindow::AddControl(ActiveWindow* ctrl) children.append(ctrl); ctrl->SetForm(this); - + if (!shown) ctrl->Hide(); } @@ -296,7 +296,7 @@ void FormWindow::Init(const FormDef& def) { if (def.GetRect().w > 0 && def.GetRect().h > 0) { - // if form size is specified in def, and it is + // if form size is specified in def, and it is // smaller than the current screen size, // center the form on the display: |