BUG: fix for 981 cursor returns to correct place in help screen
This commit is contained in:
parent
c5be64081a
commit
9fe2ab2f71
|
@ -1038,8 +1038,10 @@ void cmCursesMainForm::HandleInput()
|
||||||
CurrentForm = msgs;
|
CurrentForm = msgs;
|
||||||
msgs->Render(1,1,x,y);
|
msgs->Render(1,1,x,y);
|
||||||
msgs->HandleInput();
|
msgs->HandleInput();
|
||||||
CurrentForm = this;
|
CurrentForm = this;
|
||||||
this->Render(1,1,x,y);
|
this->Render(1,1,x,y);
|
||||||
|
set_current_field(m_Form, cur);
|
||||||
|
delete msgs;
|
||||||
}
|
}
|
||||||
// display last errors
|
// display last errors
|
||||||
else if ( key == 'l' )
|
else if ( key == 'l' )
|
||||||
|
@ -1052,6 +1054,7 @@ void cmCursesMainForm::HandleInput()
|
||||||
msgs->HandleInput();
|
msgs->HandleInput();
|
||||||
CurrentForm = this;
|
CurrentForm = this;
|
||||||
this->Render(1,1,x,y);
|
this->Render(1,1,x,y);
|
||||||
|
delete msgs;
|
||||||
}
|
}
|
||||||
else if ( key == '/' )
|
else if ( key == '/' )
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue