Skip to content

Commit 21bcbdb

Browse files
committed
refactor
1 parent 4fe6b1b commit 21bcbdb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/org/jabref/gui/maintable/MainTable.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -186,7 +186,7 @@ public MainTable(MainTableDataModel model,
186186
if (this.getSortOrder().isEmpty()) {
187187
return;
188188
}
189-
this.jumpToSearchKey(getSortOrder().get(0), key);
189+
this.jumpToSearchKey(getSortOrder().getFirst(), key);
190190
});
191191

192192
database.getDatabase().registerListener(this);

0 commit comments

Comments
 (0)