mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
[file-history] inline showTree method
This commit is contained in:
@@ -427,7 +427,7 @@ public class FileHistoryPanelImpl extends PanelWithActionsAndCloseButton impleme
|
||||
}
|
||||
|
||||
private void chooseView() {
|
||||
if (showTree()) {
|
||||
if (getConfiguration().SHOW_FILE_HISTORY_AS_TREE) {
|
||||
myDualView.switchToTheTreeMode();
|
||||
}
|
||||
else {
|
||||
@@ -435,10 +435,6 @@ public class FileHistoryPanelImpl extends PanelWithActionsAndCloseButton impleme
|
||||
}
|
||||
}
|
||||
|
||||
private boolean showTree() {
|
||||
return getConfiguration().SHOW_FILE_HISTORY_AS_TREE;
|
||||
}
|
||||
|
||||
private VcsConfiguration getConfiguration() {
|
||||
return VcsConfiguration.getInstance(myVcs.getProject());
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user