diff options
Diffstat (limited to 'Source/CursesDialog/cmCursesBoolWidget.cxx')
-rw-r--r-- | Source/CursesDialog/cmCursesBoolWidget.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/CursesDialog/cmCursesBoolWidget.cxx b/Source/CursesDialog/cmCursesBoolWidget.cxx index 4057a3f..9d54b54 100644 --- a/Source/CursesDialog/cmCursesBoolWidget.cxx +++ b/Source/CursesDialog/cmCursesBoolWidget.cxx @@ -14,7 +14,7 @@ cmCursesBoolWidget::cmCursesBoolWidget(int width, int height, bool cmCursesBoolWidget::HandleInput(int& key, FORM* form, WINDOW* w) { // 10 == enter - if (key == 10) + if (key == 10 || key == KEY_ENTER) { if (this->GetValueAsBool()) { |