I just realised that after using the script, I cannot switch all the glyphs in the tab to a different master using Cmd+1, Cmd+2 etc. any more. Any way to fix this?
Btw, I always found it very annoying if I have to manually switch a glyph to the respective master layer when Glyphs thinks I want to stay on the current layer. This happens a lot and causes lots of unnecessary clicks.
Can I ask that Cmd+1, Cmd+2 etc. always switches all glyphs in the tab to that master layer, without keeping some glyphs stuck. That would make me very, very happy.
The above script was partly an attempt to solve this problem (at least make it a little easier to switch to the master layer) but it seems it makes the situation worse.