todo: make defaults the same as for find toolwindow

GitOrigin-RevId: a0c80bc34ad0f4f55cc5d12408b5013965e80ea0
This commit is contained in:
Dmitry Batkovich
2024-08-02 11:01:58 +00:00
committed by intellij-monorepo-bot
parent 0948cd9997
commit db79e0d621
2 changed files with 1 additions and 4 deletions
@@ -18,7 +18,7 @@ public class TodoPanelSettings {
@OptionTag(tag = "todo-filter", nameAttribute = "", valueAttribute = "name")
public String todoFilterName;
@OptionTag(tag = "is-preview-enabled", nameAttribute = "")
public boolean showPreview;
public boolean showPreview = true;
public TodoPanelSettings() {
}
@@ -62,9 +62,6 @@ public class TodoView implements PersistentStateComponent<TodoView.State>, Dispo
myProject = project;
state.all.arePackagesShown = true;
state.all.isAutoScrollToSource = true;
state.current.isAutoScrollToSource = true;
MessageBusConnection connection = project.getMessageBus().connect(this);
connection.subscribe(TodoConfiguration.PROPERTY_CHANGE, new MyPropertyChangeListener());