diff --git a/config/SettingsDialog.xml b/config/SettingsDialog.xml
index 6d46a6c9..1965b65e 100644
--- a/config/SettingsDialog.xml
+++ b/config/SettingsDialog.xml
@@ -382,6 +382,29 @@
+ -
+
+
+ Qt::Vertical
+
+
+
+ 20
+ 40
+
+
+
+
+ -
+
+
+ Perform startup checks
+
+
+ true
+
+
+
diff --git a/src/cae.py b/src/cae.py
index c97ce52c..b06926a7 100644
--- a/src/cae.py
+++ b/src/cae.py
@@ -24,10 +24,13 @@
import logging
logging.basicConfig(level=logging.NOTSET)
+from settings import s
+
# Run some important checks before start
-import checks
-checks.run_startup_checks()
-clean.screen()
+if s.perform_startup_checks:
+ import checks
+ checks.run_startup_checks()
+ clean.screen()
import os
from PyQt5 import QtWidgets, QtWebEngineWidgets
@@ -52,7 +55,6 @@
Could be chosen with command line parameter.
"""
import argparse
-from settings import s
parser = argparse.ArgumentParser()
parser.add_argument('-inp', type=str,
help='your .inp file',
diff --git a/src/settings.py b/src/settings.py
index 41e8da39..acadf46b 100644
--- a/src/settings.py
+++ b/src/settings.py
@@ -7,8 +7,6 @@
Application settings.
Attributes values are maintained in config/Settings_*.py.
User dialog form is config/SettingsDialog.xml - use Qt Designer to edit.
-
-# TODO Checkbox to skip startup tests.
"""
# Standard modules
@@ -55,6 +53,7 @@ def __init__(self):
self.start_cgx_by_default = True
self.align_windows = True
self.show_help = False
+ self.perform_startup_checks = True
def open(self):
"""Open dialog window and pass settings."""