Disable the context help button in the title bar (Windows).

master
Pacman Ghost 6 months ago
parent acdb8351ef
commit 71b07accd8
  1. 3
      vasl_templates/main.py

@ -243,6 +243,9 @@ def _do_main( template_pack, default_scenario, remote_debugging, debug ): #pylin
if is_windows():
QApplication.setStyle( "windowsvista" )
# disable the context help button in the title bar (Windows only)
QApplication.setAttribute( PyQt5.QtCore.Qt.AA_DisableWindowContextHelpButton )
# check if we should disable the embedded browser
disable_browser = webapp.config.get( "DISABLE_WEBENGINEVIEW" )

Loading…
Cancel
Save