ccmake: handle cache entries with empty STRINGS property

Fixes: #19585
This commit is contained in:
M Furkan USLU
2019-08-10 01:48:34 +03:00
committed by Brad King
parent 40bbe50e23
commit 154c5f7949

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: