feat: load local directories for spellchecking (#6730)
Reviewed-by: pajlada <rasmus.karlsson+github@pajlada.com>
This commit is contained in:
@@ -207,18 +207,6 @@ QString debugTest(const CommandContext &ctx)
|
||||
getApp()->getUpdates().checkForUpdates();
|
||||
ctx.channel->addSystemMessage(QString("checking for updates"));
|
||||
}
|
||||
else if (command == "spellcheck-get-system-dictionaries")
|
||||
{
|
||||
#ifdef CHATTERINO_WITH_SPELLCHECK
|
||||
auto dicts = getApp()->getSpellChecker()->getSystemDictionaries();
|
||||
for (const auto &dict : dicts)
|
||||
{
|
||||
ctx.channel->addSystemMessage(QString("system dictionary: %1 at %2")
|
||||
.arg(dict.name)
|
||||
.arg(dict.path));
|
||||
}
|
||||
#endif
|
||||
}
|
||||
else if (command == "save-settings")
|
||||
{
|
||||
ctx.channel->addSystemMessage(u"requesting settings save"_s);
|
||||
|
||||
Reference in New Issue
Block a user