forked from openlp/openlp
Added code to hide data location wizard if running portable
This commit is contained in:
parent
f0047bece0
commit
cf1a0b27ea
@ -545,6 +545,10 @@ class AdvancedTab(SettingsTab):
|
||||
self.currentDataPath))
|
||||
self.defaultColorButton.setStyleSheet(
|
||||
u'background-color: %s' % self.defaultColor)
|
||||
# Don't allow data directory move if running portable.
|
||||
if Settings().value(u'advanced/is portable',
|
||||
QtCore.QVariant(False)).toBool():
|
||||
self.dataDirectoryGroupBox.hide()
|
||||
|
||||
def save(self):
|
||||
"""
|
||||
|
Loading…
Reference in New Issue
Block a user