Skip to content
Snippets Groups Projects
Commit 62552ccf authored by Deucе's avatar Deucе :ok_hand_tone4:
Browse files

Don't re-draw the current list (it will be redrawn in the switch statement)

Fixes SyncTERM SF bug 93
parent f65af002
No related branches found
No related tags found
1 merge request!463MRC mods by Codefenix (2024-10-20)
Pipeline #3475 passed
......@@ -442,8 +442,10 @@ int filepick(uifcapi_t *api, char *title, struct file_pick *fp, char *dir, char
hold_update=TRUE;
display_current_path(api, cfile);
api->lbclr=api->lclr|(api->bclr<<4);
api->list(WIN_NOBRDR|WIN_FIXEDHEIGHT|WIN_IMM|WIN_REDRAW,1,3,listwidth,&dircur,&dirbar,NULL,dir_list);
api->list(WIN_NOBRDR|WIN_FIXEDHEIGHT|WIN_IMM|WIN_REDRAW,1+listwidth+1,3,listwidth,&filecur,&filebar,NULL,file_list);
if (currfield != DIR_LIST)
api->list(WIN_NOBRDR|WIN_FIXEDHEIGHT|WIN_IMM|WIN_REDRAW,1,3,listwidth,&dircur,&dirbar,NULL,dir_list);
if (currfield != FILE_LIST)
api->list(WIN_NOBRDR|WIN_FIXEDHEIGHT|WIN_IMM|WIN_REDRAW,1+listwidth+1,3,listwidth,&filecur,&filebar,NULL,file_list);
api->lbclr=lbclr;
lastfield=currfield;
fieldmove=0;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment