summaryrefslogtreecommitdiff
path: root/plugins/QuickSearch/src
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2021-05-16 20:08:55 +0300
committerGeorge Hazan <ghazan@miranda.im>2021-05-16 20:08:55 +0300
commit71f2771dab10825634e3aa3770d13f96ab46a483 (patch)
tree4c3b77b07786a55afcce296c04fde592794f6da8 /plugins/QuickSearch/src
parent34d7210674084cde22d78d6f7dc8f0fb5c282185 (diff)
fixes #2881 completely (#6: если выделить в окне QS несколько контактов и переместить их в группу через контекстное меню, то ничего не происходит)
Diffstat (limited to 'plugins/QuickSearch/src')
-rw-r--r--plugins/QuickSearch/src/window_misc.cpp11
1 files changed, 2 insertions, 9 deletions
diff --git a/plugins/QuickSearch/src/window_misc.cpp b/plugins/QuickSearch/src/window_misc.cpp
index b166096a4d..8caaa6066f 100644
--- a/plugins/QuickSearch/src/window_misc.cpp
+++ b/plugins/QuickSearch/src/window_misc.cpp
@@ -665,15 +665,8 @@ void QSMainDlg::ShowMultiPopup(int cnt)
MoveToContainer(buf);
}
- else if (iRes >= 400 && iRes <= 499) {
- wchar_t buf[100];
- if (iRes == 400) // default container, just delete setting
- buf[0] = 0;
- else
- GetMenuStringW(cntmenu, iRes, buf, _countof(buf), MF_BYCOMMAND);
-
- MoveToGroup(buf);
- }
+ else if (iRes >= 400 && iRes <= 499)
+ MoveToGroup(Clist_GroupGetName(iRes - 400));
}
void QSMainDlg::ConvertToMeta()