Skip to content

Commit

Permalink
Remove updateEntryEditorIfShowing (#12129)
Browse files Browse the repository at this point in the history
  • Loading branch information
koppor authored Oct 30, 2024
1 parent 0ebae41 commit 53d0929
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 9 deletions.
7 changes: 0 additions & 7 deletions src/main/java/org/jabref/gui/LibraryTab.java
Original file line number Diff line number Diff line change
Expand Up @@ -631,13 +631,6 @@ private void ensureNotShowingBottomPanel(List<BibEntry> entriesToCheck) {
}
}

public void updateEntryEditorIfShowing() {
if (mode == PanelMode.MAIN_TABLE_AND_ENTRY_EDITOR) {
BibEntry currentEntry = entryEditor.getCurrentlyEditedEntry();
showAndEdit(currentEntry);
}
}

/**
* Put an asterisk behind the filename to indicate the database has changed.
*/
Expand Down
1 change: 0 additions & 1 deletion src/main/java/org/jabref/gui/cleanup/CleanupAction.java
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,6 @@ private void showResults() {
}

if (modifiedEntriesCount > 0) {
tabSupplier.get().updateEntryEditorIfShowing();
tabSupplier.get().markBaseChanged();
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,6 @@ public void execute() {
if (ce.hasEdits()) {
undoManager.addEdit(ce);
tabSupplier.get().markBaseChanged();
tabSupplier.get().updateEntryEditorIfShowing();
String outText;
if (nullFieldIfValueIsTheSame || value == null) {
outText = getTextDone(specialField, Integer.toString(bes.size()));
Expand Down

0 comments on commit 53d0929

Please sign in to comment.