Tony CHEMIT pushed to branch develop-7.x at ultreiaio / ird-observe

Commits:

1 changed file:

Changes:

  • client/src/main/java/fr/ird/observe/client/ui/content/ContentUIInitializer.java
    ... ... @@ -696,6 +696,8 @@ public class ContentUIInitializer<E extends IdDto, UI extends ContentUI<E, UI>>
    696 696
         protected void init(JXDatePicker picker) {
    
    697 697
     
    
    698 698
             log.debug("init JXDatePicker editor" + picker.getName());
    
    699
    +        picker.getInputMap(JComponent.WHEN_ANCESTOR_OF_FOCUSED_COMPONENT).put(KeyStroke.getKeyStroke(KeyEvent.VK_F5, 0), "none");
    
    700
    +
    
    699 701
             picker.setLocale(ObserveSwingApplicationContext.get().getConfig().getLocale());
    
    700 702
             JFormattedTextField editor = picker.getEditor();
    
    701 703
             editor.setEditable(true);