Commit 154c5f79 authored by Muhammed Furkan USLU's avatar Muhammed Furkan USLU Committed by Brad King

ccmake: handle cache entries with empty STRINGS property

Fixes: #19585
parent 40bbe50e
......@@ -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