Skip to content

Commit

Permalink
set splitPane size before (re)creating maintable - fixes #1450
Browse files Browse the repository at this point in the history
  • Loading branch information
matthiasgeiger committed May 31, 2016
1 parent fa51c7f commit 623f8e6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,7 @@ We refer to [GitHub issues](https://github.com/JabRef/jabref/issues) by using `#
- Fixed [#1421](https://github.com/JabRef/jabref/issues/1421): Auto downloader should try to retrieve DOI if not present and fetch afterwards
- Fixed [#1457](https://github.com/JabRef/jabref/issues/1457): Support multiple words inside LaTeX commands to RTF export
- Entries retain their groupmembership when undoing their cut/deletion
- Fixed [#1450](https://github.com/JabRef/jabref/issues/1450): EntryEditor is restored in the correct size after preference changes

### Removed
- Removed possibility to export entries/databases to an `.sql` file, as the logic cannot easily use the correct escape logic
Expand Down
1 change: 1 addition & 0 deletions src/main/java/net/sf/jabref/gui/BasePanel.java
Original file line number Diff line number Diff line change
Expand Up @@ -1518,6 +1518,7 @@ public void keyPressed(KeyEvent e) {
public void setupMainPanel() {
splitPane = new JSplitPane(JSplitPane.VERTICAL_SPLIT);
splitPane.setDividerSize(SPLIT_PANE_DIVIDER_SIZE);
adjustSplitter(); // restore last splitting state (before mainTable is created as creation affects the stored size of the entryEditors)

// check whether a mainTable already existed and a floatSearch was active
boolean floatSearchActive = (mainTable != null) && (this.tableModel.getSearchState() == MainTableDataModel.DisplayOption.FLOAT);
Expand Down

0 comments on commit 623f8e6

Please sign in to comment.