]> git.lyx.org Git - features.git/commitdiff
GuiPrefs.cpp, InsetExternal.cpp: revert unintended changes from r39461 (sorry)
authorUwe Stöhr <uwestoehr@web.de>
Wed, 10 Aug 2011 02:56:56 +0000 (02:56 +0000)
committerUwe Stöhr <uwestoehr@web.de>
Wed, 10 Aug 2011 02:56:56 +0000 (02:56 +0000)
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
src/insets/InsetExternal.cpp

index 16be7bc53a377051c62d3bf2eda388049d12df27..51494fb44d3cfc2b15614eae2f5c73df17628c63 100644 (file)
@@ -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"));
 }
        
        
index 8126d459a9f9d5b637a6c2feae246db2a59a3240..6b1913530936c44f6842eba48698c48e0ee3da18 100644 (file)
 
 #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 <sstream>
-#include <vector>
 
 using namespace std;
 using namespace lyx::support;