Merge pull request #621 from orium/dictionaries-update-fix

Spell check dictionaries were not being updated when changed
This commit is contained in:
TingPing 2013-05-24 08:53:48 -07:00
commit 4878012065

View File

@ -2013,6 +2013,10 @@ setup_apply_to_sess (session_gui *gui)
#endif
#ifdef USE_LIBSEXY
/* update active languages */
sexy_spell_entry_deactivate_language((SexySpellEntry *)gui->input_box,NULL);
sexy_spell_entry_activate_default_languages((SexySpellEntry *)gui->input_box);
sexy_spell_entry_set_checked ((SexySpellEntry *)gui->input_box, prefs.hex_gui_input_spell);
#endif
}