From b856e2606c8ce7048dc78387506a5995a7e7be54 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Uwe=20St=C3=B6hr?= Date: Wed, 10 Aug 2011 02:56:56 +0000 Subject: [PATCH] GuiPrefs.cpp, InsetExternal.cpp: revert unintended changes from r39461 (sorry) git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_2_0_X@39462 a592a061-630c-0410-9148-cb99ea01b6c8 --- src/frontends/qt4/GuiPrefs.cpp | 3 +-- src/insets/InsetExternal.cpp | 6 +++--- 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/src/frontends/qt4/GuiPrefs.cpp b/src/frontends/qt4/GuiPrefs.cpp index 16be7bc53a..51494fb44d 100644 --- a/src/frontends/qt4/GuiPrefs.cpp +++ b/src/frontends/qt4/GuiPrefs.cpp @@ -43,7 +43,6 @@ #include "support/filetools.h" #include "support/foreach.h" #include "support/gettext.h" -#include "support/lassert.h" #include "support/lstrings.h" #include "support/os.h" #include "support/Package.h" @@ -1527,7 +1526,7 @@ void PrefSpellchecker::on_spellcheckerCB_currentIndexChanged(int index) { QString spellchecker = spellcheckerCB->itemData(index).toString(); - compoundWordCB->setEnabled(spellchecker == QString("aspell")); + compoundWordCB->setEnabled(spellchecker != QString("native")); } diff --git a/src/insets/InsetExternal.cpp b/src/insets/InsetExternal.cpp index 8126d459a9..6b19135309 100644 --- a/src/insets/InsetExternal.cpp +++ b/src/insets/InsetExternal.cpp @@ -36,18 +36,18 @@ #include "graphics/PreviewLoader.h" -#include "support/bind.h" #include "support/convert.h" #include "support/debug.h" #include "support/ExceptionMessage.h" #include "support/filetools.h" #include "support/gettext.h" -#include "support/lassert.h" #include "support/lstrings.h" #include "support/lyxlib.h" +#include "support/Translator.h" + +#include "support/bind.h" #include -#include using namespace std; using namespace lyx::support; -- 2.39.5