aboutsummaryrefslogtreecommitdiffstats
path: root/gui/pythontab.cc
diff options
context:
space:
mode:
Diffstat (limited to 'gui/pythontab.cc')
-rw-r--r--gui/pythontab.cc3
1 files changed, 3 insertions, 0 deletions
diff --git a/gui/pythontab.cc b/gui/pythontab.cc
index a11059b5..8e8b7be4 100644
--- a/gui/pythontab.cc
+++ b/gui/pythontab.cc
@@ -16,6 +16,7 @@
* OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*
*/
+ #ifndef NO_PYTHON
#include "pythontab.h"
#include <QGridLayout>
@@ -138,3 +139,5 @@ void PythonTab::showContextMenu(const QPoint &pt)
void PythonTab::clearBuffer() { plainTextEdit->clear(); }
NEXTPNR_NAMESPACE_END
+
+#endif \ No newline at end of file