From 0c70641067f65ea3df71ae21af49808e22afd307 Mon Sep 17 00:00:00 2001 From: David McKnight Date: Wed, 14 May 2008 20:53:04 +0000 Subject: [PATCH] [231964] [ssh] SSH login dialog appears twice after cancel, when doing Refresh on a node --- .../org/eclipse/rse/ui/operations/SystemFetchOperation.java | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/rse/plugins/org.eclipse.rse.ui/UI/org/eclipse/rse/ui/operations/SystemFetchOperation.java b/rse/plugins/org.eclipse.rse.ui/UI/org/eclipse/rse/ui/operations/SystemFetchOperation.java index 383bd04fb7e..72697558b23 100644 --- a/rse/plugins/org.eclipse.rse.ui/UI/org/eclipse/rse/ui/operations/SystemFetchOperation.java +++ b/rse/plugins/org.eclipse.rse.ui/UI/org/eclipse/rse/ui/operations/SystemFetchOperation.java @@ -17,6 +17,7 @@ * Martin Oberhuber (Wind River) - [189272] exception when canceling ssh connect * David Dykstal (IBM) - [189483] add notification when canceling password prompting * David McKnight (IBM) - [225747] [dstore] Trying to connect to an "Offline" system throws an NPE + * David McKnight (IBM) - [231964] [ssh] SSH login dialog appears twice after cancel, when doing Refresh on a node *******************************************************************************/ package org.eclipse.rse.ui.operations; @@ -176,6 +177,9 @@ public class SystemFetchOperation extends JobChangeAdapter implements IRunnableW catch (InterruptedException e) { isCancelled = true; } + catch (OperationCanceledException e) { + isCancelled = true; + } catch (Exception e) {