From dda40b710b7784ad241dc5ce7df6919281a1fc7f Mon Sep 17 00:00:00 2001 From: MUedsa <7676275+muedsa@users.noreply.github.com> Date: Thu, 11 Aug 2022 19:11:06 +0800 Subject: [PATCH] fix: holder.put --- .../com/muedsa/intellij/textReader/composes/ReaderWindow.java | 1 + 1 file changed, 1 insertion(+) diff --git a/src/main/java/com/muedsa/intellij/textReader/composes/ReaderWindow.java b/src/main/java/com/muedsa/intellij/textReader/composes/ReaderWindow.java index 62f42d4..a62150e 100644 --- a/src/main/java/com/muedsa/intellij/textReader/composes/ReaderWindow.java +++ b/src/main/java/com/muedsa/intellij/textReader/composes/ReaderWindow.java @@ -76,6 +76,7 @@ public ReaderWindow(Project project, ToolWindow toolWindow) { if(textReaderCore.getChapters().isEmpty()){ this.searchTextField.setEnabled(true); } + ReaderWindowHolder.put(project, this); } private void createUIComponents(){