aboutsummaryrefslogtreecommitdiffstats
path: root/ui/qt/widgets/syntax_line_edit.h
diff options
context:
space:
mode:
Diffstat (limited to 'ui/qt/widgets/syntax_line_edit.h')
-rw-r--r--ui/qt/widgets/syntax_line_edit.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/ui/qt/widgets/syntax_line_edit.h b/ui/qt/widgets/syntax_line_edit.h
index 820795fd96..cc1b8461e3 100644
--- a/ui/qt/widgets/syntax_line_edit.h
+++ b/ui/qt/widgets/syntax_line_edit.h
@@ -36,6 +36,7 @@ public:
void setCompleter(QCompleter *c);
QCompleter *completer() const { return completer_; }
+ void allowCompletion(bool enabled);
public slots:
void setStyleSheet(const QString &style_sheet);
@@ -70,6 +71,7 @@ private:
QString syntax_error_message_;
QString token_chars_;
QColor busy_fg_;
+ bool completion_enabled_;
private slots:
void insertFieldCompletion(const QString &completion_text);