<table><tr><td style="">kirschner created this revision.<br />Herald added a project: KDE Edu.<br />Herald added a subscriber: kde-edu.<br />kirschner requested review of this revision.
</td><a style="text-decoration: none; padding: 4px 8px; margin: 0 8px 8px; float: right; color: #464C5C; font-weight: bold; border-radius: 3px; background-color: #F7F7F9; background-image: linear-gradient(to bottom,#fff,#f1f0f1); display: inline-block; border: 1px solid rgba(71,87,120,.2);" href="https://phabricator.kde.org/D25116">View Revision</a></tr></table><br /><div><strong>REVISION SUMMARY</strong><div><p>If a file with more than two languages was loaded and a language with an index larger than 1 was selected in the practice window "learning language" combobox, the program crashed due to a segmentation fault. This was because the check if the index loaded from the settings was performed after the first access of the checked variable.</p>

<p>BUG: 413720</p></div></div><br /><div><strong>TEST PLAN</strong><div><p>Tested manually</p></div></div><br /><div><strong>REPOSITORY</strong><div><div>R340 Parley</div></div></div><br /><div><strong>BRANCH</strong><div><div>Fixed-Wrong-Statistics-Window-Initialization (branched from master)</div></div></div><br /><div><strong>REVISION DETAIL</strong><div><a href="https://phabricator.kde.org/D25116">https://phabricator.kde.org/D25116</a></div></div><br /><div><strong>AFFECTED FILES</strong><div><div>src/statistics/statisticsmainwindow.cpp</div></div></div><br /><div><strong>To: </strong>kirschner<br /><strong>Cc: </strong>kde-edu, narvaez, apol<br /></div>