aboutsummaryrefslogtreecommitdiffstats
path: root/gui/pythontab.cc
diff options
context:
space:
mode:
Diffstat (limited to 'gui/pythontab.cc')
-rw-r--r--gui/pythontab.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/gui/pythontab.cc b/gui/pythontab.cc
index 80d731e9..827f1907 100644
--- a/gui/pythontab.cc
+++ b/gui/pythontab.cc
@@ -114,4 +114,6 @@ void PythonTab::clearBuffer() { console->clear(); }
void PythonTab::info(std::string str) { console->displayString(str.c_str()); }
+void PythonTab::execute_python(std::string filename) { console->execute_python(filename); }
+
NEXTPNR_NAMESPACE_END