Comment 106 for bug 303269

Revision history for this message
In , Arnaud Renevier (arenevier) wrote :

Created attachment 553143
part2: do not override manually set dictionary

patch to fix issue described in comment 98.
This works by setting a boolean member mDictWasSetManually to PR_TRUE when SetCurrentDictionary is called, but not from UpdateCurrentDictionary
Once that member is true, UpdateCurrentDictionary (and SaveDefaultDictionary) will do nothing.
This patch also fixes a typo in a variable name (s/currentDictonary/currentDictionary/)