Commit 84df5ab9 authored by claes's avatar claes

flow_IsViewable called before AcceptFocus

parent c93ef26f
......@@ -615,7 +615,8 @@ void EvList::event_clear_alarmlist( pwr_tNodeIndex nix)
void EvList::set_input_focus()
{
XtCallAcceptFocus( brow_widget, CurrentTime);
if ( flow_IsViewable( brow_widget))
XtCallAcceptFocus( brow_widget, CurrentTime);
}
//
......
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