Benglin/Dynamo — pull request #161 by vmoyseenko (2014-10-30 16:40:07+00:00)
Title: For some cases switching between classes doesn't change context of StandardPanel

#### Purpose

Context after switch between classes should be changed.

#### Modifications

`currentIndex` is removed. Used `selectedClassProspectiveIndex` instead. Main fix is in using of `TranslateSelectionIndex` to find correct index.

#### Additional references

More information how to reproduce bug you can find here: [MAGN-5230](http://adsk-oss.myjetbrains.com/youtrack/issue/MAGN-5230).

#### Reviewers

@aosyatnik, @Benglin, please, take a look.