mirror of
https://github.com/Kitware/CMake.git
synced 2026-02-06 07:09:49 -06:00
Merge branch 'ccmake-crash-on-empty-strings-property' into release-3.15
Merge-request: !3678
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user