Fix to prevent loss of keys.dat when activating portable mode via settings dialog

This commit is contained in:
DivineOmega 2013-06-27 11:00:53 +01:00
parent 86ce3de50d
commit 0f0fbe388f

View File

@ -1801,6 +1801,7 @@ class MyForm(QtGui.QMainWindow):
shared.sqlLock.acquire() shared.sqlLock.acquire()
shared.sqlSubmitQueue.put('movemessagstoprog') shared.sqlSubmitQueue.put('movemessagstoprog')
shared.sqlLock.release() shared.sqlLock.release()
shared.appdata = ''
helper_config.saveConfig() helper_config.saveConfig()
# Write the knownnodes.dat file to disk in the new location # Write the knownnodes.dat file to disk in the new location
shared.knownNodesLock.acquire() shared.knownNodesLock.acquire()