Fix ArrayOutOfBoundException when switching panels with an empty Discrete measurement list
Merge pull request #3 from rayz90/master

 	Fix ArrayOutOfBoundException when switching panels with an empty Discrete measurement list