Commit c8e97bcc1f97b3ab7ea44a444e6c3b9c48e53910

Authored by perry.werneck@gmail.com
1 parent 259a6e1c

Ativando opção reselect

Showing 1 changed file with 2 additions and 2 deletions   Show diff stats
selection.c
... ... @@ -302,8 +302,8 @@ LIB3270_ACTION( reselect )
302 302 {
303 303 CHECK_SESSION_HANDLE(hSession);
304 304  
305   - if(hSession->selected || hSession->select.begin == hSession->select.end)
306   - return 0;
  305 + if(!lib3270_connected(hSession) || hSession->select.begin == hSession->select.end || hSession->selected)
  306 + return;
307 307  
308 308 update_selection(hSession);
309 309 set_selected(hSession);
... ...