From b96785f3632d215df15d7135166f237a5955989f Mon Sep 17 00:00:00 2001 From: Gregor Schneider Date: Sat, 26 Sep 2009 19:24:39 +0000 Subject: [PATCH] Don't add quick launch icon copies after showing a context menu See issue #2453 for more details. svn path=/trunk/; revision=43170 --- reactos/base/shell/explorer/taskbar/quicklaunch.cpp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/reactos/base/shell/explorer/taskbar/quicklaunch.cpp b/reactos/base/shell/explorer/taskbar/quicklaunch.cpp index 90bc5d8fc82..5b1af0930b8 100644 --- a/reactos/base/shell/explorer/taskbar/quicklaunch.cpp +++ b/reactos/base/shell/explorer/taskbar/quicklaunch.cpp @@ -252,9 +252,7 @@ LRESULT QuickLaunchBar::WndProc(UINT nmsg, WPARAM wparam, LPARAM lparam) if (entry) { // entry is NULL for desktop switch buttons HRESULT hr = entry->do_context_menu(_hwnd, screen_pt, _cm_ifs); - if (SUCCEEDED(hr)) - AddShortcuts(); //refresh(); - else + if (!SUCCEEDED(hr)) CHECKERROR(hr); } else goto def;