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

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

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.
Loading...