Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix for issue #417 #633

Merged
merged 4 commits into from
Jan 4, 2016
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ to [sourceforge feature requests](https://sourceforge.net/p/jabref/features/) by
- ACM fetcher works again, fixes #545
- Use default file icon for custom external file types, fixes #598
- Fixed #608: Export works again
- Fixed #417: Table now updates when switching groups

### Removed

Expand Down
6 changes: 2 additions & 4 deletions src/main/java/net/sf/jabref/gui/BasePanel.java
Original file line number Diff line number Diff line change
Expand Up @@ -2026,10 +2026,8 @@ private StartStopListAction(FilterList<E> list, Matcher<E> active, Matcher<E> in
}

public void start() {
if (!isActive) {
list.setMatcher(active);
isActive = true;
}
list.setMatcher(active);
isActive = true;
}

public void stop() {
Expand Down
10 changes: 4 additions & 6 deletions src/main/java/net/sf/jabref/gui/maintable/MainTable.java
Original file line number Diff line number Diff line change
Expand Up @@ -238,13 +238,11 @@ public boolean isFloatSearchActive() {
* Adds a sorting rule that floats group hits to the top, and causes non-hits to be grayed out:
*/
public void showFloatGrouping() {
if(!isFloatGroupingActive) {
isFloatGroupingActive = true;
isFloatGroupingActive = true;

groupMatcher = GroupMatcher.INSTANCE;
groupComparator = new HitOrMissComparator(groupMatcher);
refreshSorting();
}
groupMatcher = GroupMatcher.INSTANCE;
groupComparator = new HitOrMissComparator(groupMatcher);
refreshSorting();
}

/**
Expand Down