mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
[vcs-log] graph history action is visible when root is in log but not indexed yet
This commit is contained in:
+2
-1
@@ -64,7 +64,8 @@ public class ShowGraphHistoryAction extends DumbAwareAction {
|
||||
presentation.setEnabledAndVisible(false);
|
||||
}
|
||||
else {
|
||||
presentation.setEnabledAndVisible(dataManager.getIndex().isIndexed(root));
|
||||
presentation.setVisible(dataManager.getRoots().contains(root));
|
||||
presentation.setEnabled(dataManager.getIndex().isIndexed(root));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user