Disabling LaTeX popup if LaTeX support is disabled.
Some checks reported errors
continuous-integration/drone/push Build was killed

This commit is contained in:
Ad5001 2022-04-22 15:14:52 +02:00
parent 6129bcf928
commit b45e105202
Signed by: Ad5001
GPG key ID: EF45F9C6AFE20160
2 changed files with 5 additions and 1 deletions

2
.gitignore vendored
View file

@ -12,8 +12,10 @@ linux/flatpak/.flatpak-builder
**/**.jsc **/**.jsc
**/**.pyc **/**.pyc
**/**.qm **/**.qm
**/**.log
*.jsc *.jsc
*.qmlc *.qmlc
*.log
.DS_Store .DS_Store
**/.DS_Store **/.DS_Store
**/__pycache__/ **/__pycache__/

View file

@ -135,7 +135,9 @@ def run():
if platform == "darwin": if platform == "darwin":
macOSFileOpenHandler.init_graphics(engine.rootObjects()[0]) 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 # Check for updates
if config.getSetting("check_for_updates"): if config.getSetting("check_for_updates"):