diff options
-rw-r--r-- | plugins/QuickSearch/src/window_misc.cpp | 11 |
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() |