Attempt to fix SGI ccmake problem (thank you Clint Miller)
This commit is contained in:
parent
d54e7a6888
commit
852ad56a6c
|
@ -75,7 +75,7 @@ bool cmCursesStringWidget::HandleInput(int& key, cmCursesMainForm* fm,
|
|||
|
||||
FORM* form = fm->GetForm();
|
||||
// 10 == enter
|
||||
if (!m_InEdit && ( key != 10 ) )
|
||||
if (!m_InEdit && ( key != 10 && key != KEY_ENTER ) )
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue