diff options
author | George Hazan <ghazan@miranda.im> | 2022-08-01 19:22:09 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2022-08-01 19:22:09 +0300 |
commit | a28bdfd70c5a3dc86fae95035e32870a170538f6 (patch) | |
tree | 37a1227120bc79e6da5b6d654a2b58c230e5a5f8 /plugins/TabSRMM/src | |
parent | 559dbc7b53b097c0beb326bf82302aaed6cfa0a8 (diff) |
fixes #3134 (tabSRMM: пропала возможность отключить добавление символа при автодополнении ника)
Diffstat (limited to 'plugins/TabSRMM/src')
-rw-r--r-- | plugins/TabSRMM/src/chat_options.cpp | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/plugins/TabSRMM/src/chat_options.cpp b/plugins/TabSRMM/src/chat_options.cpp index 64ba63a90f..42015264c6 100644 --- a/plugins/TabSRMM/src/chat_options.cpp +++ b/plugins/TabSRMM/src/chat_options.cpp @@ -557,10 +557,7 @@ public: Chat_SetGroup(ptrW(edtGroup.GetText()));
replaceStrW(g_Settings.pwszAutoText, edtAutocomplete.GetText());
- if (mir_wstrlen(g_Settings.pwszAutoText))
- db_set_ws(0, CHAT_MODULE, "TextAutocomplete", g_Settings.pwszAutoText);
- else
- db_unset(0, CHAT_MODULE, "TextAutocomplete");
+ db_set_ws(0, CHAT_MODULE, "TextAutocomplete", g_Settings.pwszAutoText);
TreeViewToDB(treeCheck, lvItemsChat, CHAT_MODULE, nullptr);
return true;
|