Fix crash when 3rd language added to new collection and grammar is downloaded

Review Request #118621 - Created June 9, 2014 and submitted

Information
Andreas Xavier
parley
master b4f7fce64f
Reviewers
kdeedu
If this is an inappropriate location for the submission of a bug report with patch against the master branch of the git repo for parley, then please inform me and I will submit it in the appropriate location.

Bug Report:  

1. Start Parley
2. Create New Collection. 
3. Click OK
4. Add Language.
5. Download new grammar.  (for the new 3rd language)
6. Crash.

Patch:

Add a new identifier to the kvocdoc if there are fewer languages that the requested number.
Repeated the above steps and no crash.
Inge Wallin
Commit Hook
This review has been submitted with commit 68eabf21b9fcd3135ecdfbb066087722a0be2ef5 by Inge Wallin on behalf of Andreas Xavier to branch master.
Andreas Xavier
Review request changed

Status: Closed (submitted)

Loading...