@ -1874,7 +1876,14 @@ class MyForm(QtGui.QMainWindow):
shared.knownNodesLock.release()
os.remove(shared.appdata+'keys.dat')
os.remove(shared.appdata+'knownnodes.dat')
previousAppdataLocation=shared.appdata
shared.appdata=''
debug.restartLoggingInUpdatedAppdataLocation()
try:
os.remove(previousAppdataLocation+'debug.log')
os.remove(previousAppdataLocation+'debug.log.1')
except:
pass
ifshared.appdata==''andnotself.settingsDialogInstance.ui.checkBoxPortableMode.isChecked():# If we ARE using portable mode now but the user selected that we shouldn't...
shared.appdata=shared.lookupAppdataFolder()
@ -1894,6 +1903,12 @@ class MyForm(QtGui.QMainWindow):