Not Logged In
|
Login
|
Register
Home
|
News
|
Projects
|
Releases
Bugs
|
RFE
|
Repositories
|
Help
projects
/
xestiaab
/
.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
frmMain: Clearup active account, file information and contact lists when reloading...
[xestiaab/.git]
/
source
/
frmMain.cpp
diff --git
a/source/frmMain.cpp
b/source/frmMain.cpp
index
f21a0be
..
c32e61d
100644
(file)
--- a/
source/frmMain.cpp
+++ b/
source/frmMain.cpp
@@
-1438,6
+1438,13
@@
void frmMain::LoadPreferences(bool skipWindowSizeReload){
XABPreferences preferences(preffilename);
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"));
// Setup the main window position (if needed).
bool SaveWindowPos = preferences.GetBoolData(wxT("SaveWindowPosition"));
Yn Maystri
© 2006 - 2019 Xestia Software Development
Software
Xestia Address Book
Xestia Calendar
Development
Xestia Gelforn
Everything else
About
News
Privacy Policy