From: toshihiro Date: Mon, 30 Jul 2007 07:18:40 +0000 (+0000) Subject: Fixed: 1760857 - Avoid refreshing the preview when phpeditor got focus. X-Git-Url: http://secure.phpeclipse.com?hp=290da81758afb965bedc89006dae3065a977e940 Fixed: 1760857 - Avoid refreshing the preview when phpeditor got focus. If Browser View is already showing the URL, do nothing. --- 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