From 562aba8d95c7f49a871693ce02ac4d9c487868cc Mon Sep 17 00:00:00 2001 From: OpherV Date: Thu, 10 Sep 2015 16:10:09 +0300 Subject: [PATCH] fix for #73 "Synchronize" after starting a feature branch while inside another feature branch --- src/gitflow/actions/StartFeatureAction.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/gitflow/actions/StartFeatureAction.java b/src/gitflow/actions/StartFeatureAction.java index 98d3606..8e33fde 100644 --- a/src/gitflow/actions/StartFeatureAction.java +++ b/src/gitflow/actions/StartFeatureAction.java @@ -1,6 +1,7 @@ package gitflow.actions; import com.intellij.openapi.actionSystem.AnActionEvent; +import com.intellij.openapi.fileEditor.FileEditorManager; import com.intellij.openapi.progress.ProgressIndicator; import com.intellij.openapi.progress.Task; import com.intellij.openapi.ui.DialogWrapper; @@ -49,5 +50,6 @@ private void createFeatureBranch(String baseBranchName, String featureName) { } repo.update(); + virtualFileMananger.asyncRefresh(null); //update editors } } \ No newline at end of file