summaryrefslogtreecommitdiffstats
path: root/Project/ControlSystemTest.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Project/ControlSystemTest.cpp')
-rw-r--r--Project/ControlSystemTest.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/Project/ControlSystemTest.cpp b/Project/ControlSystemTest.cpp
index 48a0e1f..ed1ea39 100644
--- a/Project/ControlSystemTest.cpp
+++ b/Project/ControlSystemTest.cpp
@@ -9,6 +9,8 @@ ControlSystemTest::ControlSystemTest(ControlEditor* parent,
double* simTime)
: ControlSystemTestBase(parent)
{
+ SetSize(GetBestSize());
+
m_inputType = inputType;
m_startTime = startTime;
m_slope = slope;