summaryrefslogtreecommitdiffstats
path: root/Project/IOControlForm.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Project/IOControlForm.cpp')
-rw-r--r--Project/IOControlForm.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/Project/IOControlForm.cpp b/Project/IOControlForm.cpp
index bb049a1..73ac331 100644
--- a/Project/IOControlForm.cpp
+++ b/Project/IOControlForm.cpp
@@ -77,6 +77,12 @@ IOControlForm::IOControlForm(wxWindow* parent, IOControl* ioControl) : IOControl
m_inputFlags.push_back(IOControl::IN_INITIAL_VELOCITY);
if(m_ioControl->GetValue() == IOControl::IN_INITIAL_VELOCITY) inChoiceNumber = (int)m_inputFlags.size() - 1;
}
+
+ if(ioFlags & IOControl::IN_DELTA_VELOCITY) {
+ m_choiceInput->Append(_("Velocity variation"));
+ m_inputFlags.push_back(IOControl::IN_DELTA_VELOCITY);
+ if(m_ioControl->GetValue() == IOControl::IN_DELTA_VELOCITY) inChoiceNumber = (int)m_inputFlags.size() - 1;
+ }
if(inChoiceNumber != -1) {
m_choiceInput->SetSelection(inChoiceNumber);