We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5a20650 commit cca82a3Copy full SHA for cca82a3
src/widgets/qownnotesmarkdowntextedit.cpp
@@ -1313,6 +1313,11 @@ void QOwnNotesMarkdownTextEdit::requestAiAutocomplete() {
1313
* Shows the AI autocomplete suggestion
1314
*/
1315
void QOwnNotesMarkdownTextEdit::showAiAutocompleteSuggestion(const QString &suggestion) {
1316
+ SettingsService settings;
1317
+ if (!settings.value(QStringLiteral("ai/autocompleteEnabled")).toBool()) {
1318
+ return;
1319
+ }
1320
+
1321
qDebug() << __func__ << " - 'suggestion': " << suggestion;
1322
1323
if (suggestion.isEmpty()) {
0 commit comments