X-Git-Url: http://git.phpeclipse.com diff --git a/net.sourceforge.phpeclipse/src/net/sourceforge/phpeclipse/phpeditor/CompilationUnitEditorActionContributor.java b/net.sourceforge.phpeclipse/src/net/sourceforge/phpeclipse/phpeditor/CompilationUnitEditorActionContributor.java index 57ed72d..b77af3e 100644 --- a/net.sourceforge.phpeclipse/src/net/sourceforge/phpeclipse/phpeditor/CompilationUnitEditorActionContributor.java +++ b/net.sourceforge.phpeclipse/src/net/sourceforge/phpeclipse/phpeditor/CompilationUnitEditorActionContributor.java @@ -65,10 +65,12 @@ public class CompilationUnitEditorActionContributor extends .getInstance(); fShowExternalPreviewAction.setEditor(textEditor); fShowExternalPreviewAction.update(); - if (fShowExternalPreviewAction != null) { - fShowExternalPreviewAction - .doRun(ShowExternalPreviewAction.PHP_TYPE); - } + // if (fShowExternalPreviewAction != null) { + // fShowExternalPreviewAction + // .doRun(ShowExternalPreviewAction.PHP_TYPE); + // } + fShowExternalPreviewAction + .refresh(ShowExternalPreviewAction.PHP_TYPE); } } } \ No newline at end of file