bugfix: complete refactoring of session selector in portable mode

This commit is contained in:
cyd01
2020-05-06 13:47:32 +02:00
parent 19700f0c71
commit d91ee41696
+1 -1
View File
@@ -1013,7 +1013,7 @@ void filter_session_portable(union control *ctrl, dlgparam *dlg, const int nb, c
for( i=0 ; i<nb ; i++ ) if( tabb[i] ) {
if( !GetSessionFilterFlag() ) { // On filter disable
sessionlist_add(s,sessionslist[i],&j,true) ;
} else if( stristr(sessionslist[i],savedsession)!=NULL ) { / If filter match
} else if( stristr(sessionslist[i],savedsession)!=NULL ) { // If filter match
sessionlist_add(s,sessionslist[i],&j,true) ;
}
tabb[i] = false ;