Skip to content

Commit

Permalink
fix : update the close method (JabRef#10585)
Browse files Browse the repository at this point in the history
  • Loading branch information
rachedkko committed Mar 3, 2024
1 parent ba8adec commit fdd6750
Showing 1 changed file with 2 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
import org.jabref.model.database.BibDatabaseContext;
import org.jabref.model.entry.BibEntry;
import org.jabref.preferences.PreferencesService;

import org.jabref.gui.util.DefaultFileUpdateMonitor;
import com.tobiasdiez.easybind.EasyBind;

public class LatexCitationsTab extends EntryEditorTab {
Expand Down Expand Up @@ -140,8 +140,7 @@ public boolean shouldShow(BibEntry entry) {

@Override
public void close() {
fileUpdateMonitor.removeListener(viewModel.getLatexFiles());
viewModel.close();
viewModel.removeListener();
}

}

0 comments on commit fdd6750

Please sign in to comment.