From 494ecddc48715ca24e88dc7d34b348bd0de89688 Mon Sep 17 00:00:00 2001 From: toshihiro Date: Mon, 30 Jul 2007 07:18:40 +0000 Subject: [PATCH 1/1] Fixed: 1760857 - Avoid refreshing the preview when phpeditor got focus. If Browser View is already showing the URL, do nothing. --- .../phpeclipse/phpeditor/PHPUnitEditor.java | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/net.sourceforge.phpeclipse/src/net/sourceforge/phpeclipse/phpeditor/PHPUnitEditor.java b/net.sourceforge.phpeclipse/src/net/sourceforge/phpeclipse/phpeditor/PHPUnitEditor.java index 15c174f..f726d5d 100644 --- a/net.sourceforge.phpeclipse/src/net/sourceforge/phpeclipse/phpeditor/PHPUnitEditor.java +++ b/net.sourceforge.phpeclipse/src/net/sourceforge/phpeclipse/phpeditor/PHPUnitEditor.java @@ -2758,7 +2758,8 @@ public class PHPUnitEditor extends PHPEditor { // implements super.editorSaved(); ShowExternalPreviewAction a = ShowExternalPreviewAction.getInstance(); if (a != null) { - a.refresh(ShowExternalPreviewAction.PHP_TYPE); + //a.refresh(ShowExternalPreviewAction.PHP_TYPE); + a.doRun(ShowExternalPreviewAction.PHP_TYPE); } } } \ No newline at end of file -- 1.7.1