Here I have a simple patch that should load a midi port from a file (using pattrstorage) on loadbang.
After loadbang, there is [t b b]. The 2nd b (that happens first) bangs the midiinfo to fill the [umenu]s.
The 1st b (that happens 2nd) does tell pattrstorage to read a file and recall value from it. That 2nd part is also connected to a button, using which everything works perfectly.
Thing is, that when [loadbang] is supposed to do it (instead of manual button click) it just doesn't happen properly - the umenus are not updated from the pattr.
please, can somebody show me what am i doing wrong?
below is the patch. you will need to set some value and SAVE IT (there is button for that).
then try to reload and you will see that value is not reloaded. then try to click the "restore" button and you will see, that manually banging the same branch of objects which loadbang bangs, the umenu is loaded well.