From f8740e8e4fd81710b57f8c1af88dadcb358c5590 Mon Sep 17 00:00:00 2001 From: Gav Wood Date: Wed, 10 Jun 2015 12:02:29 +0900 Subject: [PATCH] Avoid enabling JITVM when not compiled in. --- alethzero/MainWin.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/alethzero/MainWin.cpp b/alethzero/MainWin.cpp index fce3200cb..06b9cb014 100644 --- a/alethzero/MainWin.cpp +++ b/alethzero/MainWin.cpp @@ -240,6 +240,10 @@ Main::Main(QWidget *parent) : #if !ETH_FATDB removeDockWidget(ui->dockWidget_accounts); +#endif +#if !ETH_EVMJIT + ui->jitvm->setEnabled(false); + ui->jitvm->setChecked(false); #endif installWatches(); startTimer(100);