mirror of
https://github.com/processing/processing4.git
synced 2026-02-13 02:20:45 +01:00
Focus stays in the filterField while typing
This commit is contained in:
@@ -128,7 +128,10 @@ public class ContributionListPanel extends JPanel implements Scrollable, Contrib
|
||||
if (table.getSelectedRow() != -1) {
|
||||
setSelectedPanel(panelByContribution.get(table.getValueAt(table
|
||||
.getSelectedRow(), 0)));
|
||||
table.requestFocusInWindow();
|
||||
// Preventing the focus to move out of filterField after typing every character
|
||||
if (!contributionTab.filterField.hasFocus()) {
|
||||
table.requestFocusInWindow();
|
||||
}
|
||||
}
|
||||
}
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user