More portable mode fixes

This commit is contained in:
mailchuck 2015-12-13 22:23:40 +01:00
parent ebee02d773
commit 4034ac3c0e
Signed by untrusted user who does not match committer: PeterSurda
GPG Key ID: 0C5F50C0B5F37D87

View File

@ -4091,7 +4091,7 @@ class settingsDialog(QtGui.QDialog):
curr_index = languages.index('other')
self.ui.languageComboBox.setCurrentIndex(curr_index)
if shared.appdata == '':
if shared.appdata == shared.lookupExeFolder():
self.ui.checkBoxPortableMode.setChecked(True)
if 'darwin' in sys.platform:
self.ui.checkBoxStartOnLogon.setDisabled(True)