diff --git a/.gitignore b/.gitignore index 1a8dac4..11ffff4 100644 --- a/.gitignore +++ b/.gitignore @@ -12,8 +12,10 @@ linux/flatpak/.flatpak-builder **/**.jsc **/**.pyc **/**.qm +**/**.log *.jsc *.qmlc +*.log .DS_Store **/.DS_Store **/__pycache__/ diff --git a/LogarithmPlotter/logarithmplotter.py b/LogarithmPlotter/logarithmplotter.py index 70073ef..3a8051c 100644 --- a/LogarithmPlotter/logarithmplotter.py +++ b/LogarithmPlotter/logarithmplotter.py @@ -135,7 +135,9 @@ def run(): if platform == "darwin": macOSFileOpenHandler.init_graphics(engine.rootObjects()[0]) - latex.check_latex_install() + # Check for LaTeX installation if LaTeX support is enabled + if config.getSetting("enable_latex"): + latex.check_latex_install() # Check for updates if config.getSetting("check_for_updates"):