Merge branch 'ccmake-crash-on-empty-strings-property' into release-3.15

Merge-request: !3678
This commit is contained in:
Brad King
2019-08-20 08:56:21 -04:00

View File

@@ -23,6 +23,9 @@ cmCursesOptionsWidget::cmCursesOptionsWidget(int width, int height, int left,
bool cmCursesOptionsWidget::HandleInput(int& key, cmCursesMainForm* /*fm*/,
WINDOW* w)
{
if (this->Options.empty()) {
return false;
}
switch (key) {
case 10: // 10 == enter
case KEY_ENTER: