Skip to content

Commit

Permalink
fixed selection of preferences page
Browse files Browse the repository at this point in the history
  • Loading branch information
Ole Lensmar committed Nov 24, 2016
1 parent f9873ef commit b1e515c
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -201,7 +201,7 @@ private void buildDialog() {
prefItems.addListSelectionListener(new ListSelectionListener() {
@Override
public void valueChanged(ListSelectionEvent e) {
selectPrefs(prefsListModel.get(e.getFirstIndex()));
selectPrefs(prefsListModel.get(prefItems.getSelectedIndex()));
}
});

Expand Down

0 comments on commit b1e515c

Please sign in to comment.