mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-22 18:08:10 +00:00
* GuiSpellchecker.cpp:
- fix bug #6561 (null pointer). git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33578 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
408e3c971e
commit
f31298fd7c
@ -158,7 +158,7 @@ void GuiSpellchecker::on_languageCO_activated(int index)
|
||||
{
|
||||
string const lang =
|
||||
fromqstr(d->ui.languageCO->itemData(index).toString());
|
||||
if (d->word_.lang()->lang() == lang)
|
||||
if (!d->word_.lang() || d->word_.lang()->lang() == lang)
|
||||
// nothing changed
|
||||
return;
|
||||
dispatch(FuncRequest(LFUN_LANGUAGE, lang));
|
||||
|
Loading…
Reference in New Issue
Block a user