aboutsummaryrefslogtreecommitdiffstats
path: root/gui/line_editor.cc
diff options
context:
space:
mode:
Diffstat (limited to 'gui/line_editor.cc')
-rw-r--r--gui/line_editor.cc7
1 files changed, 5 insertions, 2 deletions
diff --git a/gui/line_editor.cc b/gui/line_editor.cc
index b5ed955f..6299c9cc 100644
--- a/gui/line_editor.cc
+++ b/gui/line_editor.cc
@@ -1,7 +1,8 @@
#include "line_editor.h"
-
#include <QKeyEvent>
+NEXTPNR_NAMESPACE_BEGIN
+
LineEditor::LineEditor(QWidget *parent) : QLineEdit(parent), index(0)
{
setContextMenuPolicy(Qt::CustomContextMenu);
@@ -64,4 +65,6 @@ void LineEditor::clearHistory()
lines.clear();
index = 0;
clear();
-} \ No newline at end of file
+}
+
+NEXTPNR_NAMESPACE_END \ No newline at end of file