mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
git log action for default project fixed
This commit is contained in:
+1
-1
@@ -106,7 +106,7 @@ public class ChangesBrowserChangeNode extends ChangesBrowserNode<Change> impleme
|
||||
|
||||
private void appendSwitched(final ChangesBrowserNodeRenderer renderer) {
|
||||
final VirtualFile virtualFile = ChangesUtil.getFilePath(getUserObject()).getVirtualFile();
|
||||
if (virtualFile != null) {
|
||||
if (virtualFile != null && ! myProject.isDefault()) {
|
||||
String branch = ChangeListManager.getInstance(myProject).getSwitchedBranch(virtualFile);
|
||||
if (branch != null) {
|
||||
renderer.append(" [switched to " + branch + "]", SimpleTextAttributes.REGULAR_ATTRIBUTES);
|
||||
|
||||
Reference in New Issue
Block a user