forked from openlp/openlp
Added some settings that should have been upgraded
This commit is contained in:
parent
07ba52e90c
commit
9e9285a896
@ -262,7 +262,10 @@ class Settings(QtCore.QSettings):
|
|||||||
('core/recent files', 'core/recent files', [(file_names_conv, None)]),
|
('core/recent files', 'core/recent files', [(file_names_conv, None)]),
|
||||||
('media/media files', 'media/media files', [(file_names_conv, None)]),
|
('media/media files', 'media/media files', [(file_names_conv, None)]),
|
||||||
('presentations/presentations files', 'presentations/presentations files', [(file_names_conv, None)]),
|
('presentations/presentations files', 'presentations/presentations files', [(file_names_conv, None)]),
|
||||||
('core/logo file', 'core/logo file', [(str_to_path, None)])
|
('core/logo file', 'core/logo file', [(str_to_path, None)]),
|
||||||
|
('presentations/last directory', 'presentations/last directory', [(str_to_path, None)]),
|
||||||
|
('images/last directory', 'images/last directory', [(str_to_path, None)]),
|
||||||
|
('media/last directory', 'media/last directory', [(str_to_path, None)])
|
||||||
]
|
]
|
||||||
|
|
||||||
@staticmethod
|
@staticmethod
|
||||||
|
@ -41,6 +41,7 @@ __default_settings__ = {
|
|||||||
'images/db hostname': '',
|
'images/db hostname': '',
|
||||||
'images/db database': '',
|
'images/db database': '',
|
||||||
'images/background color': '#000000',
|
'images/background color': '#000000',
|
||||||
|
'images/last directory': None
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
@ -42,7 +42,8 @@ log = logging.getLogger(__name__)
|
|||||||
# Some settings starting with "media" are in core, because they are needed for core functionality.
|
# Some settings starting with "media" are in core, because they are needed for core functionality.
|
||||||
__default_settings__ = {
|
__default_settings__ = {
|
||||||
'media/media auto start': QtCore.Qt.Unchecked,
|
'media/media auto start': QtCore.Qt.Unchecked,
|
||||||
'media/media files': []
|
'media/media files': [],
|
||||||
|
'media/last directory': None
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
@ -47,7 +47,8 @@ __default_settings__ = {'presentations/override app': QtCore.Qt.Unchecked,
|
|||||||
'presentations/presentations files': [],
|
'presentations/presentations files': [],
|
||||||
'presentations/thumbnail_scheme': '',
|
'presentations/thumbnail_scheme': '',
|
||||||
'presentations/powerpoint slide click advance': QtCore.Qt.Unchecked,
|
'presentations/powerpoint slide click advance': QtCore.Qt.Unchecked,
|
||||||
'presentations/powerpoint control window': QtCore.Qt.Unchecked
|
'presentations/powerpoint control window': QtCore.Qt.Unchecked,
|
||||||
|
'presentations/last directory': None
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user