merge commit
authortimkelly
Mon, 30 Aug 2010 10:33:21 -0500
changeset 1908 8b428a8a3473
parent 1907 8eeb96baf835 (diff)
parent 1906 6f11f5393a5c (current diff)
child 1909 d88d351ae694
merge commit
--- a/connectivity/com.nokia.carbide.remoteConnections/src/com/nokia/carbide/remoteconnections/view/ConnectionsView.java	Fri Aug 27 16:34:38 2010 -0500
+++ b/connectivity/com.nokia.carbide.remoteConnections/src/com/nokia/carbide/remoteconnections/view/ConnectionsView.java	Mon Aug 30 10:33:21 2010 -0500
@@ -194,7 +194,9 @@
 	private void refreshViewer() {
 		Display.getDefault().asyncExec(new Runnable() {
 			public void run() {
-				if (nameEditor != null && nameEditor.isActivated()) {
+				if (nameEditor != null && nameEditor.getControl() != null &&
+					!nameEditor.getControl().isDisposed() &&
+					nameEditor.isActivated()) {
 					refreshPending = true;
 					return;
 				}