X-Git-Url: http://Server1/repobrowser/?p=xestiaab%2F.git;a=blobdiff_plain;f=source%2FfrmMain.cpp;h=c32e61dca8975ce2dc1ad5f5437fabe7392a7dc7;hp=f21a0beda3f45927727addeb6ea825522f4524a4;hb=7f33f83780a10b4f4083f5950412f1924f3639a6;hpb=f83e96e8959248c6dc3d198485ca7645871594dd diff --git a/source/frmMain.cpp b/source/frmMain.cpp index f21a0be..c32e61d 100644 --- a/source/frmMain.cpp +++ b/source/frmMain.cpp @@ -1438,6 +1438,13 @@ void frmMain::LoadPreferences(bool skipWindowSizeReload){ XABPreferences preferences(preffilename); + // Clear the active account/filename information and account list. + + ActiveAccount = ""; + ActiveAccountType = ""; + ActiveFilename = ""; + lstContacts->DeleteAllItems(); + // Setup the main window position (if needed). bool SaveWindowPos = preferences.GetBoolData(wxT("SaveWindowPosition"));