disable the check box for compound word handling because of missing API for it with apples native spell checker

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35541 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Stephan Witt 2010-09-29 19:05:28 +00:00
parent 346f3aa503
commit 029ac601a8
2 changed files with 11 additions and 1 deletions

View File

@ -1474,7 +1474,15 @@ void PrefSpellchecker::update(LyXRC const & rc)
} }
void PrefSpellchecker::on_spellcheckerCB_currentIndexChanged(int index)
{
QString spellchecker = spellcheckerCB->itemData(index).toString();
compoundWordCB->setEnabled(spellchecker != QString("native"));
}
///////////////////////////////////////////////////////////////////// /////////////////////////////////////////////////////////////////////
// //
// PrefConverters // PrefConverters

View File

@ -309,6 +309,8 @@ public:
void apply(LyXRC & rc) const; void apply(LyXRC & rc) const;
void update(LyXRC const & rc); void update(LyXRC const & rc);
private Q_SLOTS:
void on_spellcheckerCB_currentIndexChanged(int);
}; };