Skip to content

Commit

Permalink
Fix bug in Ctrl-F handling in tables, cf. #387.
Browse files Browse the repository at this point in the history
  • Loading branch information
bengtmartensson committed Jan 14, 2024
1 parent 6ff4acb commit 2ae3717
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/main/java/org/harctoolbox/irscrutinizer/GuiMain.java
Original file line number Diff line number Diff line change
Expand Up @@ -9362,7 +9362,8 @@ private void irpProtocolsReloadMenuItemActionPerformed(java.awt.event.ActionEven
}//GEN-LAST:event_irpProtocolsReloadMenuItemActionPerformed

private void tableKeyReleased(JTable table, KeyEvent evt) {
if (evt.getModifiersEx() == java.awt.event.InputEvent.CTRL_DOWN_MASK) {
if (evt.getModifiersEx() == java.awt.event.InputEvent.CTRL_DOWN_MASK
&& evt.getExtendedKeyCode() == java.awt.event.KeyEvent.VK_F ) {
tableUtils.searchNameInTable(table);
}
}
Expand Down

0 comments on commit 2ae3717

Please sign in to comment.