IDEA-292405 Ctrl+Click on file paths no longer works
authorMikhail Sokolov <mikhail.sokolov@jetbrains.com>
Thu, 19 May 2022 18:14:03 +0000 (21:14 +0300)
committerintellij-monorepo-bot <intellij-monorepo-bot-no-reply@jetbrains.com>
Fri, 20 May 2022 08:01:10 +0000 (08:01 +0000)
GitOrigin-RevId: 1b2824f273ac3fe900f5646be7b4bf18f32cc60e

platform/platform-impl/src/com/intellij/ui/popup/list/ListPopupImpl.java

index 7ff6acdd4b04bb6646e210e3368630536c4fcaa8..6a4eab83e5f4b2acd7ec356140f30fb37b935d4d 100644 (file)
@@ -611,7 +611,7 @@ public class ListPopupImpl extends WizardPopup implements ListPopup, NextStepHan
 
     @Override
     public void mouseReleased(MouseEvent e) {
-      if (e.isConsumed() || !isActionClick(e) || isMultiSelectionEnabled() && UIUtil.isSelectionButtonDown(e)) return;
+      if (!isActionClick(e) || isMultiSelectionEnabled() && UIUtil.isSelectionButtonDown(e)) return;
       IdeEventQueue.getInstance().blockNextEvents(e); // sometimes, after popup close, MOUSE_RELEASE event delivers to other components
       Object selectedValue = myList.getSelectedValue();
       ListPopupStep<Object> listStep = getListStep();