Fixed: 1760857 - Avoid refreshing the preview when phpeditor got focus.
[phpeclipse.git] / net.sourceforge.phpeclipse / src / net / sourceforge / phpeclipse / phpeditor / PHPUnitEditor.java
index 15c174f..f726d5d 100644 (file)
@@ -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