Fix crash when 3rd language added to new collection and grammar is downloaded
Review Request #118621 - Created June 9, 2014 and submitted
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.
Looks good. You can push it if you have the credentials, otherwise I can do it for you. If this bug is also present in Parley for KDE release 4.13 then the way we normally use is to add the patch to 4.13 and then forward merge it into master. Refer to Andreas Cord-Landwehr (cola) if you need instructions on how to do this in git.