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
This commit is contained in:
Uwe Stöhr 2011-08-10 02:56:56 +00:00
parent 9c4abdf137
commit b856e2606c
2 changed files with 4 additions and 5 deletions

View File

@ -43,7 +43,6 @@
#include "support/filetools.h" #include "support/filetools.h"
#include "support/foreach.h" #include "support/foreach.h"
#include "support/gettext.h" #include "support/gettext.h"
#include "support/lassert.h"
#include "support/lstrings.h" #include "support/lstrings.h"
#include "support/os.h" #include "support/os.h"
#include "support/Package.h" #include "support/Package.h"
@ -1527,7 +1526,7 @@ void PrefSpellchecker::on_spellcheckerCB_currentIndexChanged(int index)
{ {
QString spellchecker = spellcheckerCB->itemData(index).toString(); QString spellchecker = spellcheckerCB->itemData(index).toString();
compoundWordCB->setEnabled(spellchecker == QString("aspell")); compoundWordCB->setEnabled(spellchecker != QString("native"));
} }

View File

@ -36,18 +36,18 @@
#include "graphics/PreviewLoader.h" #include "graphics/PreviewLoader.h"
#include "support/bind.h"
#include "support/convert.h" #include "support/convert.h"
#include "support/debug.h" #include "support/debug.h"
#include "support/ExceptionMessage.h" #include "support/ExceptionMessage.h"
#include "support/filetools.h" #include "support/filetools.h"
#include "support/gettext.h" #include "support/gettext.h"
#include "support/lassert.h"
#include "support/lstrings.h" #include "support/lstrings.h"
#include "support/lyxlib.h" #include "support/lyxlib.h"
#include "support/Translator.h"
#include "support/bind.h"
#include <sstream> #include <sstream>
#include <vector>
using namespace std; using namespace std;
using namespace lyx::support; using namespace lyx::support;