Changed scripting window font to be more legible. Fixed a bug that caused CAN reception errors in scripting system.
This commit is contained in:
@@ -18,6 +18,10 @@ void ScriptContainer::compileScript()
|
|||||||
|
|
||||||
emit sendLog("Compiling script...");
|
emit sendLog("Compiling script...");
|
||||||
|
|
||||||
|
canHelper->clearFilters();
|
||||||
|
isoHelper->clearFilters();
|
||||||
|
udsHelper->clearFilters();
|
||||||
|
|
||||||
if (result.isError())
|
if (result.isError())
|
||||||
{
|
{
|
||||||
|
|
||||||
|
|||||||
@@ -18,6 +18,7 @@ ScriptingWindow::ScriptingWindow(const QVector<CANFrame> *frames, QWidget *paren
|
|||||||
editor->setWordWrapMode(QTextOption::NoWrap);
|
editor->setWordWrapMode(QTextOption::NoWrap);
|
||||||
editor->setTabStopWidth(4);
|
editor->setTabStopWidth(4);
|
||||||
editor->setEnabled(false);
|
editor->setEnabled(false);
|
||||||
|
editor->setFont(QFont("Monospace", 12));
|
||||||
editor->show();
|
editor->show();
|
||||||
ui->verticalLayout->insertWidget(2,editor, 10);
|
ui->verticalLayout->insertWidget(2,editor, 10);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user