mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-22 13:18:28 +00:00
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:
parent
346f3aa503
commit
029ac601a8
@ -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
|
||||||
|
@ -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);
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user