File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed
src/main/java/org/jabref/gui/importer Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -58,7 +58,10 @@ public void execute() {
5858 BackgroundTask <Optional <BibEntry >> backgroundTask = searchAndImportEntryInBackground ();
5959 backgroundTask .titleProperty ().set (Localization .lang ("Import by ID" ));
6060 backgroundTask .showToUser (true );
61- backgroundTask .onRunning (() -> dialogService .notify ("%s" .formatted (backgroundTask .messageProperty ().get ())));
61+ backgroundTask .onRunning (() -> {
62+ entryFromIdPopOver .hide ();
63+ dialogService .notify ("%s" .formatted (backgroundTask .messageProperty ().get ()));
64+ });
6265 backgroundTask .onFailure (exception -> {
6366 String fetcherExceptionMessage = exception .getMessage ();
6467
@@ -95,8 +98,6 @@ public void execute() {
9598 } else {
9699 dialogService .notify ("No entry found or import canceled" );
97100 }
98-
99- entryFromIdPopOver .hide ();
100101 });
101102 backgroundTask .executeWith (taskExecutor );
102103 }
You can’t perform that action at this time.
0 commit comments