Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Resource Tree Doesn't Discriminate Double Clicks #32
LGM will receive the double click from the tree and open the selected resource, which will not have changed since you double clicked the widget that toggles group display.
Also, an ENIGMA-related bug that is made worse by this is: A new syntax check button is added to the script windows every time you do this. And every time you attempt to open it a second time normally.
This bug persists in d93ebbad, which either means it was not corrected in the pull request or 34/36, or else it regressed.
Note to the person who codes the fix: This is not hard to track down, as this behavior was originally "intended". The tree was one of the very first widgets that I wrote for LGM, without much understanding of Java widgets, so this is simply the way I implemented double click. I'm sure there's better ways of doing it, I just didn't know them at the time I implemented this, so I just did the best I could, which meant this particular piece of undesirable behavior fell through the cracks, and should be fairly easy to fix.