mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-07 12:32:26 +00:00
Delay Spellchecker intanciation until first use.
This also solve the problem of the rc entry that was not acknowledged. git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30931 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
697813c491
commit
1a61d10740
@ -226,7 +226,6 @@ LyX::LyX()
|
||||
{
|
||||
singleton_ = this;
|
||||
pimpl_ = new Impl;
|
||||
setSpellChecker();
|
||||
}
|
||||
|
||||
|
||||
@ -1274,6 +1273,8 @@ CmdDef & theTopLevelCmdDef()
|
||||
|
||||
SpellChecker * theSpellChecker()
|
||||
{
|
||||
if (!singleton_->pimpl_->spell_checker_)
|
||||
setSpellChecker();
|
||||
return singleton_->pimpl_->spell_checker_;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user