Skip to content

Commit

Permalink
fix #609 - reenable sort arrows in maintable
Browse files Browse the repository at this point in the history
  • Loading branch information
matthiasgeiger committed Mar 2, 2016
1 parent 39f60a5 commit bc581c5
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,8 @@ to [sourceforge feature requests](https://sourceforge.net/p/jabref/features/) by
- Fixed [#803](https://github.com/JabRef/jabref/issues/803): Fixed dynamically group, free-form search
- Fixed [#743](https://github.com/JabRef/jabref/issues/743): Logger not configured when JAR is started
- Fixed [#822](https://github.com/JabRef/jabref/issues/822):OSX - Exception when adding the icon to the dock
- Fixed [#822](https://github.com/JabRef/jabref/issues/822): OSX - Exception when adding the icon to the dock
- Fixed [#609](https://github.com/JabRef/jabref/issues/609): Sort Arrows are shown in the main table if table is sorted
- Fixed [#685](https://github.com/JabRef/jabref/issues/685): Fixed MySQL exporting for more than one entry
- Fixed [#815](https://github.com/JabRef/jabref/issues/815): Curly Braces no longer ignored in OpenOffice/LibreOffice citation
- Fixed [#855](https://github.com/JabRef/jabref/issues/856): Fixed OpenOffice Manual connect - Clicking on browse does now work correctly
Expand Down
4 changes: 3 additions & 1 deletion src/main/java/net/sf/jabref/gui/maintable/MainTable.java
Original file line number Diff line number Diff line change
Expand Up @@ -177,6 +177,9 @@ public MainTable(MainTableFormat tableFormat, EventList<BibEntry> list, JabRefFr

this.tableColumnListener = new PersistenceTableColumnListener(this);

// set table header render AFTER creation of comparatorChooser (this enables sort arrow rendering)
this.getTableHeader().setDefaultRenderer(new MainTableHeaderRenderer(this.getTableHeader().getDefaultRenderer()));

// TODO: Figure out, whether this call is needed.
getSelected();

Expand All @@ -189,7 +192,6 @@ public MainTable(MainTableFormat tableFormat, EventList<BibEntry> list, JabRefFr
setupComparatorChooser();
refreshSorting();
setWidths();

}

public void refreshSorting() {
Expand Down

0 comments on commit bc581c5

Please sign in to comment.