Bug: InputMultiList

CidTek

Active Member
Licensed User
Longtime User
Clicking OK returns a list with zero entries if none are checked, and also so does pressing the back key.

In my situation if the user doesn't want to keep any entries he leaves the list unchecked and the settings file is overwritten by one with zero entries.

If he changes his mind and just hits the back key the same result will happen and the user loses all his favorites.

Couldn't the back key return -1 so one can separate it from a valid 0 entries?
 

CidTek

Active Member
Licensed User
Longtime User
This method must return a List. It cannot return -1.
I will add a method named InputMultiList2 that will be similar to InputMultiList but will return an uninitialized list when the user presses on the back key.

Would you just test initialized state in this case?
 
Top