Skip to content

Commit

Permalink
Add comment explaining a previous change
Browse files Browse the repository at this point in the history
  • Loading branch information
u7282852 committed Oct 29, 2023
1 parent 0179274 commit d6d17e8
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/main/java/org/jabref/gui/LibraryTab.java
Original file line number Diff line number Diff line change
Expand Up @@ -222,6 +222,8 @@ public Node createLoadingAnimationLayout() {
public void onDatabaseLoadingStarted() {
Node loadingLayout = createLoadingAnimationLayout();
getMainTable().placeholderProperty().setValue(loadingLayout);
// don't raise panel by default as one tab will already be raised.
// See org.jabref.gui.JabRefGui.openDatabases() and org.jabref.gui.importer.actions.OpenDatabasesAction.openFiles()
frame.addTab(this, false);
}

Expand Down

0 comments on commit d6d17e8

Please sign in to comment.