summaryrefslogtreecommitdiff
path: root/src/mainwindow.cc
diff options
context:
space:
mode:
authorBent Bisballe Nyeng <deva@aasimon.org>2018-12-28 12:30:48 +0100
committerBent Bisballe Nyeng <deva@aasimon.org>2018-12-28 12:30:48 +0100
commit16beb55484c20b8b1e92afdf5720fa3860d77309 (patch)
treeffb199f4c77247f1abef8091a5fc4ad459ecb224 /src/mainwindow.cc
parent0ee75305070f79b12cbfa5a31b17c543d0517428 (diff)
Show error line in red in the editor.
Diffstat (limited to 'src/mainwindow.cc')
-rw-r--r--src/mainwindow.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/mainwindow.cc b/src/mainwindow.cc
index cfaece1..7e08c46 100644
--- a/src/mainwindow.cc
+++ b/src/mainwindow.cc
@@ -61,6 +61,8 @@ MainWindow::MainWindow(QString p)
l = new LUAScript(*out);
connect(l, SIGNAL(lineChanged(int)), editor, SLOT(runningLine(int)));
+ connect(l, SIGNAL(errorLine(QString, int, QString)),
+ editor, SLOT(errorLine(QString, int, QString)));
// Setup menu
QMenu* fileMenu = menuBar()->addMenu(tr("&File"));