Commit feec57e8 authored by Brad King's avatar Brad King

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

Merge-request: !3678
parents ff7f8b81 154c5f79
......@@ -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:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment