mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-27 14:29:21 +00:00
#7170 Disable hunspell dict path in prefs when hunspell is not compiled in
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37564 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
e1a685fcb1
commit
b6340b83c4
@ -1303,9 +1303,14 @@ PrefPaths::PrefPaths(GuiPreferences * form)
|
|||||||
connect(tempDirED, SIGNAL(textChanged(QString)),
|
connect(tempDirED, SIGNAL(textChanged(QString)),
|
||||||
this, SIGNAL(changed()));
|
this, SIGNAL(changed()));
|
||||||
|
|
||||||
|
#if defined(USE_HUNSPELL)
|
||||||
connect(hunspellDirPB, SIGNAL(clicked()), this, SLOT(selectHunspelldir()));
|
connect(hunspellDirPB, SIGNAL(clicked()), this, SLOT(selectHunspelldir()));
|
||||||
connect(hunspellDirED, SIGNAL(textChanged(QString)),
|
connect(hunspellDirED, SIGNAL(textChanged(QString)),
|
||||||
this, SIGNAL(changed()));
|
this, SIGNAL(changed()));
|
||||||
|
#else
|
||||||
|
hunspellDirPB->setEnabled(false);
|
||||||
|
hunspellDirED->setEnabled(false);
|
||||||
|
#endif
|
||||||
|
|
||||||
connect(pathPrefixED, SIGNAL(textChanged(QString)),
|
connect(pathPrefixED, SIGNAL(textChanged(QString)),
|
||||||
this, SIGNAL(changed()));
|
this, SIGNAL(changed()));
|
||||||
|
Loading…
Reference in New Issue
Block a user