Set the default value of core/display_on_monitor to False to avoid blocking the screen with the display window on first start.

This commit is contained in:
Tomas Groth 2019-06-10 22:22:22 +02:00
parent 4c1f67f84b
commit 4361159434
1 changed files with 1 additions and 4 deletions

View File

@ -130,9 +130,6 @@ class Settings(QtCore.QSettings):
``advanced/slide limits`` to ``SlideLimits.Wrap``. **NOTE**, this means that the rules have to cover all cases! ``advanced/slide limits`` to ``SlideLimits.Wrap``. **NOTE**, this means that the rules have to cover all cases!
So, if the type of the old value is bool, then there must be two rules. So, if the type of the old value is bool, then there must be two rules.
""" """
on_monitor_default = True
if log.isEnabledFor(logging.DEBUG):
on_monitor_default = False
__default_settings__ = { __default_settings__ = {
'settings/version': 0, 'settings/version': 0,
'advanced/add page break': False, 'advanced/add page break': False,
@ -205,7 +202,7 @@ class Settings(QtCore.QSettings):
'core/view mode': 'default', 'core/view mode': 'default',
# The other display settings (display position and dimensions) are defined in the ScreenList class due to a # The other display settings (display position and dimensions) are defined in the ScreenList class due to a
# circular dependency. # circular dependency.
'core/display on monitor': on_monitor_default, 'core/display on monitor': False,
'core/override position': False, 'core/override position': False,
'core/monitor': {}, 'core/monitor': {},
'core/application version': '0.0', 'core/application version': '0.0',