aboutsummaryrefslogtreecommitdiffstats
path: root/gui/pythontab.cc
diff options
context:
space:
mode:
authorMiodrag Milanovic <mmicko@gmail.com>2018-06-22 13:10:27 +0200
committerMiodrag Milanovic <mmicko@gmail.com>2018-06-22 13:10:43 +0200
commit7f368282700172925428e45f23b8b61e0bf39f94 (patch)
tree0e5f5695807624f81fab2d70bfe93c4ed959287f /gui/pythontab.cc
parent0448bed85901454280d56e7de132c3b16da39e6d (diff)
downloadnextpnr-7f368282700172925428e45f23b8b61e0bf39f94.tar.gz
nextpnr-7f368282700172925428e45f23b8b61e0bf39f94.tar.bz2
nextpnr-7f368282700172925428e45f23b8b61e0bf39f94.zip
fixed namespace for gui section
Diffstat (limited to 'gui/pythontab.cc')
-rw-r--r--gui/pythontab.cc6
1 files changed, 5 insertions, 1 deletions
diff --git a/gui/pythontab.cc b/gui/pythontab.cc
index 96a6c4b9..19aa0162 100644
--- a/gui/pythontab.cc
+++ b/gui/pythontab.cc
@@ -3,6 +3,8 @@
#include "emb.h"
#include "pybindings.h"
+NEXTPNR_NAMESPACE_BEGIN
+
PythonTab::PythonTab(QWidget *parent) : QWidget(parent)
{
PyImport_ImportModule("emb");
@@ -114,4 +116,6 @@ void PythonTab::showContextMenu(const QPoint &pt)
contextMenu->exec(mapToGlobal(pt));
}
-void PythonTab::clearBuffer() { plainTextEdit->clear(); } \ No newline at end of file
+void PythonTab::clearBuffer() { plainTextEdit->clear(); }
+
+NEXTPNR_NAMESPACE_END