diff options
author | George Hazan <george.hazan@gmail.com> | 2016-08-20 19:48:11 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2016-08-20 19:48:11 +0000 |
commit | 9cbb9794dca03fe252b0b0659ca108de63737678 (patch) | |
tree | 18ae7cc817d7902ece87a7478df6fa1aad1fe2d2 /plugins/TabSRMM/src/globals.cpp | |
parent | 6433efee2bc3e5642893344af0f82e5138c65cf9 (diff) |
- fix for the wrong tab name for new contacts;
- code cleaning
git-svn-id: http://svn.miranda-ng.org/main/trunk@17195 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/TabSRMM/src/globals.cpp')
-rw-r--r-- | plugins/TabSRMM/src/globals.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/plugins/TabSRMM/src/globals.cpp b/plugins/TabSRMM/src/globals.cpp index 3cdb3315ac..8efb343740 100644 --- a/plugins/TabSRMM/src/globals.cpp +++ b/plugins/TabSRMM/src/globals.cpp @@ -370,6 +370,9 @@ int CGlobals::DBSettingChanged(WPARAM hContact, LPARAM lParam) if (szProto == NULL)
return 0;
+ if (!c->isValid())
+ c->resetMeta(); // restart constructor
+
// catch own relevant settings
if (!strcmp(cws->szModule, SRMSGMOD_T))
if (!strcmp(setting, "isFavorite") || !strcmp(setting, "isRecent"))
|